Instance Property

gestureRecognizers

The gesture recognize objects currently attached to the view.

Declaration

@property(copy) NSArray<__kindof NSGestureRecognizer *> *gestureRecognizers;

Discussion

The objects in the array are concrete implementations of the NSGestureRecognizer class. If the view has no attached gesture recognizers, the array is empty.

See Also

Managing Gesture Recognizers

- addGestureRecognizer:

Attaches a gesture recognizer to the view.

- removeGestureRecognizer:

Detaches a gesture recognizer from the view.