Yields the change in attitude given a specific attitude.
- iOS 4.0+
- watchOS 2.0+
- Core Motion
An object representing the device’s attitude at a given moment of measurement.
This method multiplies the inverse of the specified
CMAttitude object by the attitude represented by the receiving object. It replaces the receiving instance with the attitude change relative to the object passed in
attitude. You should cache the
CMAttitude instance you want to use as a reference and pass that object as the argument to subsequent calls of this method.