Instance Property

gyroData

The latest sample of gyroscope data.

Declaration

@property(readonly) CMGyroData *gyroData;

Discussion

If no gyroscope data is available, the value of this property is nil. An app that is receiving gyroscope data after calling startGyroUpdates periodically checks the value of this property and processes the gyroscope data.

See Also

Managing Gyroscope Updates

gyroUpdateInterval

The interval, in seconds, for providing gyroscope updates to the block handler.

- startGyroUpdatesToQueue:withHandler:

Starts gyroscope updates on an operation queue and with a specified handler.

- startGyroUpdates

Starts gyroscope updates without a handler.

- stopGyroUpdates

Stops gyroscope updates.

CMGyroHandler

The type of block callback for handling gyroscope data.