0
votes

So I have two UITapGestureRecognizer one is for a single tap and the other one is for a double tap. However when I do a double tap, the single tap action gesture recognizer is triggered as well. Is there a way to disable this so that double tap calls the double tap action only?

1

1 Answers

7
votes

try

[singleTap requireGestureRecognizerToFail:doubleTap];