Instance Property


The gesture-recognizer objects currently attached to the view.


var gestureRecognizers: [UIGestureRecognizer]? { get set }


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.