I have attached 3 tap gesture recognizers to the same view - single, double and triple tap. However, a double tap results in the single and double tap selector being called and the same for a triple tap. I expected that UITapGestureRecognizer class would have handled this situation appropriately. Does multiple tap gestures require additional code? Thank you
+4
A:
I ended up using only a single tap and a double tap. To get this to work properly, the following line should be added to the single gesture recognizer:
[singleTapGR requireGestureRecognizerToFail:doubleTapGR];
Run Loop
2010-05-14 12:54:08
awesome, thanks.
orion elenzil
2010-10-09 21:28:10