Detaches a gesture recognizer from the view.
SDK
- macOS 10.10+
Framework
- App
Kit
Declaration
- (void)removeGestureRecognizer:(NSGesture Recognizer *)gestureRecognizer;
Parameters
gestureRecognizer
The gesture recognizer to remove. This parameter must not be
nil
.
Discussion
Removing a gesture recognizer also removes the strong reference to it held by the view.