Reputation: 349
[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?
Upvotes: 1
Views: 383
Reputation: 349
Found! CoreMotion is the answer.
Heading on iPod 4 is not available through CLLocationManager, but we still can read magnetometer data using CoreMotion framework
Upvotes: 2