UIGesture State Recognizer
An enumeration of states for a UIGestureRecognizer.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] public enum UIGestureRecognizerState
type UIGestureRecognizerState =
Touch object have begun that are recognized as a continuous gesture.
Touches have cancelled a continuous gesture.
Touch objects that are part of a continuous gesture have changed.
Touch objects that are part of a continuous gesture have ended.
An unrecognized multi-touch gesture has occurred.
The default state: no gesture is recognized, but the recognizer may be evaluating touch events.
A multi-touch has been recognized. The state is changed to UIGestureRecognizerState.Possible.
This describes the state of a 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.