Class

CMGyroData

A single measurement of the device’s rotation rate.

Overview

An application receives or samples CMGyroData objects at regular intervals after calling the startGyroUpdates(to:withHandler:) method or the startGyroUpdates() method of the CMMotionManager class.

Topics

Getting the Rotation Rate

var rotationRate: CMRotationRate

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

Constants

struct CMRotationRate

The type of structures representing a measurement of rotation rate.

Relationships

Inherits From

See Also

Gyroscopes

Getting Raw Gyroscope Events

Learn how to retrieve data from the onboard gyroscope.