Enumeration: UIGestureRecognizerState
Overview
The current state a gesture recognizer is in.
Constant Summary
- UIGestureRecognizerStatePossible
The gesture recognizer has not yet recognized its gesture, but may be evaluating touch events. this is the default state.available in ios 3.2 and later.declared in uigesturerecognizer.h.
- UIGestureRecognizerStateBegan
The gesture recognizer has received touch objects recognized as a continuous gesture. it sends its action message (or messages) at the next cycle of the run loop. available in ios 3.2 and later.declared in uigesturerecognizer.h.
- UIGestureRecognizerStateChanged
The gesture recognizer has received touches recognized as a change to a continuous gesture. it sends its action message (or messages) at the next cycle of the run loop. available in ios 3.2 and later.declared in uigesturerecognizer.h.
- UIGestureRecognizerStateEnded
The gesture recognizer has received touches recognized as the end of a continuous gesture. it sends its action message (or messages) at the next cycle of the run loop and resets its state to uigesturerecognizerstatepossible. available in ios 3.2 and later.declared in uigesturerecognizer.h.
- UIGestureRecognizerStateCancelled
The gesture recognizer has received touches resulting in the cancellation of a continuous gesture. it sends its action message (or messages) at the next cycle of the run loop and resets its state to uigesturerecognizerstatepossible.available in ios 3.2 and later.declared in uigesturerecognizer.h.
- UIGestureRecognizerStateFailed
The gesture recognizer has received a multi-touch sequence that it cannot recognize as its gesture. no action message is sent and the gesture recognizer is reset to uigesturerecognizerstatepossible. available in ios 3.2 and later.declared in uigesturerecognizer.h.
- UIGestureRecognizerStateRecognized
The gesture recognizer has received a multi-touch sequence that it recognizes as its gesture. it sends its action message (or messages) at the next cycle of the run loop and resets its state to uigesturerecognizerstatepossible.available in ios 3.2 and later.declared in uigesturerecognizer.h.