magnetic heading on iPod Touch 4g

388 Views Asked by At

[CLLocationManager headingAvailable] returns NO on my iPod Touch 4, but I have an app on the device that determines magnetic heading with location services turned off.
Is there any other way to get the heading?

1

There are 1 best solutions below

0
On BEST ANSWER

Found! CoreMotion is the answer.
Heading on iPod 4 is not available through CLLocationManager, but we still can read magnetometer data using CoreMotion framework