Instance Method

removeGestureRecognizer:

Detaches a gesture recognizer from the receiving view.

Declaration

- (void)removeGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer;

Parameters

gestureRecognizer

An object whose class descends from the UIGestureRecognizer class.

Discussion

This method releases gestureRecognizer in addition to detaching it from the view.

See Also

Managing Gesture Recognizers

- addGestureRecognizer:

Attaches a gesture recognizer to the view.

gestureRecognizers

The gesture-recognizer objects currently attached to the view.

- gestureRecognizerShouldBegin:

Asks the view if the gesture recognizer should be allowed to continue tracking touch events.