isEnabled
A Boolean property that indicates whether the gesture recognizer is enabled.
Declaration
var isEnabled: Bool { get set }Discussion
Disables a gesture recognizers so it does not receive touches. The default value is true. If you change this property to false while a gesture recognizer is currently recognizing a gesture, the gesture recognizer transitions to a cancelled state.