UIKit.UIGestureRecognizerState Enumeration
An enumeration of states for a UIKit.UIGesturerecognizer.


public enum UIGestureRecognizerState


This describes the state of a UIKit.UIGestureRecognizer. All of UIGestureRecognizers start in the Possible state. Once one or more touches has been received, the recognizers transition to the Began state. For one-shot patterns (like Tap), this will either transition into the Recognized state or the Failed state. For continuous gestures (like panning, pinching, rotating) the recognizer will transition to the Changed state and emit multiple calls back to the action and finally transition to either the Ended or Cancelled states.


Member NameDescription
BeganTouch object have begun that are recognized as a continuous gesture.
CancelledTouches have cancelled a continuous gesture.
ChangedTouch objects that are part of a continuous gesture have changed.
EndedTouch objects that are part of a continuous gesture have ended.
FailedAn unrecognized multi-touch gesture has occurred.
PossibleThe default state: no gesture is recognized, but the recognizer may be evaluating touch events.
RecognizedA multi-touch has been recognized. The state is changed to UIGestureRecognizerState.Possible.


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