Instance Property

yaw

The yaw of the device, in radians.

Declaration

var yaw: Double { get }

Discussion

A yaw is a rotation around an axis that runs vertically through the device. It is perpendicular to the body of the device, with its origin at the center of gravity and directed toward the bottom of the device.

See Also

Getting a Mathematical Representation of Attitude as Euler Angles

var roll: Double

The roll of the device, in radians.

var pitch: Double

The pitch of the device, in radians.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software