setAcceleration(_:)
Sets the total acceleration of the controller that includes gravity and the user’s acceleration.
Declaration
func setAcceleration(_ acceleration: GCAcceleration)Parameters
- acceleration:
The total acceleration of the controller.
Sets the total acceleration of the controller that includes gravity and the user’s acceleration.
func setAcceleration(_ acceleration: GCAcceleration)The total acceleration of the controller.