iOS Guides | Samples

UIKit.UIRotationGestureRecognizer Class

A UIGestureRecognizer that recognizes the two-finger rotation gesture.

See Also: UIRotationGestureRecognizer

Syntax

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

Related content

Requirements

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

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

[read-only]
override
ClassHandleIntPtr. The handle for this class.
Rotationnfloat. The rotation of the gesture, in radians. Setting this resets the Velocity.
[read-only]
Velocitynfloat. The velocity, in radians per second, of the rotation.