iOS Guides | Samples

UIKit.UIRotationGestureRecognizer Class

A UIGestureRecognizer that recognizes the two-finger rotation gesture.

See Also: UIRotationGestureRecognizer


[Foundation.Register("UIRotationGestureRecognizer", true)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class UIRotationGestureRecognizer : UIGestureRecognizer

Related content


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of UIKit.UIRotationGestureRecognizer are listed below.

See Also: UIGestureRecognizer

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Constructs a gesture recognizer and provides a method to invoke when the gesture is recognized.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.
Rotationnfloat. The rotation of the gesture, in radians. Setting this resets the Velocity.
Velocitynfloat. The velocity, in radians per second, of the rotation.