Get pitch, roll and yaw relative to geographic north on iOS?
问题 I see that I can retrieve CMAttitude from a device and from it I can read 3 values which I need (pitch, roll and yaw). As I understand, this CMAttitude object is managed by CoreMotion which is a Sensor Fusion manager for calculating correct results from compass, gyro and accelerometer together (on Android it is SensorManager Class). So my questions are: Are those values (pitch, roll and yaw) relative to the magnetic north and gravity? If above is correct, how can I modify it to give me