rotationRate
The rotation rate as measured by the device’s gyroscope.
Declaration
var rotationRate: CMRotationRate { get }Discussion
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
Related Documentation
- Event Handling Guide for UIKit Apps