Contents

accelerometerData

The latest sample of accelerometer data.

Declaration

var accelerometerData: CMAccelerometerData? { get }

Mentioned in

Discussion

If no accelerometer data is available, the value of this property is nil. An app that is receiving accelerometer data after calling startAccelerometerUpdates() periodically checks the value of this property and processes the acceleration data.

See Also

Managing Accelerometer Updates