June 2011
Intermediate to advanced
590 pages
19h 31m
English
The Core Location framework tells us where we are in the world; the MapKit framework shows us that world. Most of MapKit’s work is done by the class MKMapView. Instances of this type display a map, track touches, and display annotations. (They can do more, but that’s all you’ll need for this application.)
Add the MapKit framework to your project. (If you’ve forgotten how, flip back to the beginning of Chapter 4 and refresh your memory.) You must also import the MapKit header file into files that will use MapKit classes.
At the top of WhereamiAppDelegate.h, import the MapKit header.
#import <CoreLocation/CoreLocation.h> #import <MapKit/MapKit.h>
To determine the ...
Read now
Unlock full access