Lecture 9: CoreLocation and MapKit

CoreLocation

Getting Location: CLLocationManager

Receiving Location: CLLocationManagerDelegate

The class using location updates needs to be a delegate for the CLLocationManager. When the CLLocationManager receives location updates from the iPhone hardware, it calls methods on its delegate to give information on the location updates.

Authorizing CoreLocation

Edit plist

MapKit

View Map: MKMapView

MKMapViewDelegate

Drawing on the Map: MKPolyline