Erel,
Thanks for this.
I'm using this in my B4A.Phonesensors to B4i.Motion porting class:
https://www.b4x.com/android/forum/threads/class-xphonesensor-class-motion-object-as-per-b4a.79810/
I have done some preliminary testing of all 3 reference frames:
CMAttitudeReferenceFrameXArbitraryCorrectedZVertical
CMAttitudeReferenceFrameXMagneticNorthZVertical
CMAttitudeReferenceFrameXTrueNorthZVertical
as per your pointer to the Apple documentation in the previous post.
It seems that CMAttitudeReferenceFrameXMagneticNorthZVertical is giving better correlation to my Android stuff but I'm not convinced.
If I google these all I get is the reference you gave (which is not very useful IMO) and a whole lot of others that seem to be just parroting it.
I also tried googling to see what they do in Android - without success.
Q1. Do you have any insights beyond the Apple documentation?
Q2. Do you have any insights into what Android does?
Thanks...