Challenge: Heading


For the challenge, am I coming close by adding:

add to whereamiAppDelegate.h:

add to whereamiAppDelegate.m:


-(void)locationManager:(CLLocationManager *)manager startUpdatingHeading:(CLHeading *)heading { NSLog(@"heading: %@", heading); }


Try looking at the CLLocationManagerDelegate protocol to see what messages a CLLocationManager will send its delegate when the heading changes. Then, look at CLLocationManager to see what messages you can send it to tell it to start reading the heading.