Instance Property

gestureRecognizers

The gesture-recognizer objects currently attached to the view.

Declaration

var gestureRecognizers: [UIGestureRecognizer]? { get set }

Discussion

Each of these objects is an instance of a subclass of the abstract base class UIGestureRecognizer. The default value of this property is nil. If you add a gesture recognizer and then remove it, the value of the property is an empty array.