Instance Property

userAcceleration

The acceleration that the user is giving to the device.

Declaration

var userAcceleration: CMAcceleration { get }

Discussion

The total acceleration of the device is equal to gravity plus the acceleration the user imparts to the device.

See Also

Getting Acceleration Data

var gravity: CMAcceleration

The gravity acceleration vector expressed in the device's reference frame.