iOS Guides | Samples

UIKit.UISwipeGestureRecognizer Class

A UIGestureRecognizer that recognizes a swipe gesture in one or more directions.

See Also: UISwipeGestureRecognizer


[Foundation.Register("UISwipeGestureRecognizer", true)]
public class UISwipeGestureRecognizer : UIGestureRecognizer

Related content


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

The members of UIKit.UISwipeGestureRecognizer 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.
DirectionUISwipeGestureRecognizerDirection. The permitted direction of the swipe. The default is right.
NumberOfTouchesRequirednuint. The minimum number of touches required to recognize the gesture. Default is 1.