rotation
The rotation of the gesture in radians.
Declaration
var rotation: CGFloat { get set }Mentioned in
Discussion
You may set the rotation value to an arbitrary value; however, setting the rotation resets the velocity.
The rotation value is a single value that varies over time. It isn’t the delta value from the last time that the rotation was reported. Apply the rotation value to the state of the view when the gesture is first recognized — don’t concatenate the value each time the handler is called.