Learn how to use MapKit to include maps in your iOS applications. After reading this guide, you will know how to generate and configure a map, how to add annotations, how to detect the user's location, how to search for addresses, and how to trace a route from one location to another.
Table of Contents
MAPKIT
Map Kit View
Configuring the Map
Annotations
User Location
Search
Directions
QUICK REFERENCE
MKMapView
MKMarkerAnnotationView
MKMapViewDelegate
MKAnnotation
MKAnnotationView
MKUserLocation
MKLocalSearchRequest
MKLocalSearch
MKLocalSearchResponse
MKMapItem
MKDirectionsRequest
MKDirections
MKRoute
MKPolylineRenderer
MKMapItem
MKPlacemark
Functions
This guide assumes that you have a basic knowledge of app development, Xcode, and the Swift language. If you don't know how to program in Swift or how to create an application with Xcode, download our guides Introduction to Swift and Interface Builder. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.
This guide is a collection of excerpts from the book iOS Apps for Masterminds. The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.