Challenge: Heading


#1

For the challenge, am I coming close by adding:

add to whereamiAppDelegate.h:

add to whereamiAppDelegate.m:

and

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


#2

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.