JB Magn App
Overview
The magnetometer uses the same CLLocationManager class that the GPS/locationController does.
1. Tell your location manager to start updating the headings:
[CLController.locMgr startUpdatingHeading];
to begin receiving the relevant information.
3) Then, the method that will be called on your Controller class whenever the heading gets updated is this one:
- (void)updateHeading:(CLHeading *)newHeading
...So do the necessary logic in there.