Instance Property


The rotation rate as measured by the device’s gyroscope.


var rotationRate: CMRotationRate { get }


This property yields a measurement of the device’s rate of rotation around three axes. Whereas this property gives the raw data from the gyroscope, the identically named property of CMDeviceMotion gives a CMRotationRate structure measuring gyroscope data whose bias has been removed by Core Motion algorithms.

See Also

Getting the Rotation Rate

struct CMRotationRate

The type of structures representing a measurement of rotation rate.