gravity
The gravity acceleration vector expressed in the device’s reference frame.
Declaration
var gravity: CMAcceleration { get }Discussion
The total acceleration of the device is equal to gravity plus the acceleration the user imparts to the device (userAcceleration).