Lingua

NSGestureRecognizerState Enum

Definition

Specifies the current state of a gesture recognizer's recognition state machine.

[ObjCRuntime.Native]
public enum NSGestureRecognizerState
[<ObjCRuntime.Native>]
type NSGestureRecognizerState = 
Inheritance
NSGestureRecognizerState
Attributes

Fields

Name Value Description
Possible 0

The gesture recognizer has not yet recognized its gesture, but may still do so.

Began 1

The gesture recognizer has recognized the start of its gesture.

Changed 2

The gesture recognizer has recognized a change in a continuous gesture that is already in progress.

Ended 3

The gesture recognizer has recognized the end of its gesture and reported a successful completion.

Recognized 3

The gesture recognizer recognized a discrete gesture. Equivalent to Ended.

Cancelled 4

The gesture recognizer's recognition of a continuous gesture was cancelled, without ending normally.

Failed 5

The gesture recognizer failed to recognize its gesture.

Applies to