Instance Property

attitude

The attitude of the device.

Declaration

var attitude: CMAttitude { get }

Discussion

A CMAttitude object represents a measurement of attitude—that is, the orientation of a body relative to a given frame of reference.

See Also

Getting Attitude and Rotation Rate

var rotationRate: CMRotationRate

The rotation rate of the device.