问题
I use CMAttitudeReferenceFrameXTrueNorthZVertical
and this way rotation values roll, pitch and yaw are (0,0,0) when device is flat on table and X+ axis is pointing north.
What I would like to do is to have (0,0,0) values when Z- axis is pointing north and Y is now pointing at gravity? Is this possible?

来源:https://stackoverflow.com/questions/9626749/transform-devices-attitude-so-that-z-axis-is-aligned-with-north-and-y-is-poin