A Boolean property that indicates whether the gesture recognizer is enabled.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
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.