iphone - double tap fail safe way

Posted by mike on Stack Overflow See other posts from Stack Overflow or by mike
Published on 2010-04-14T12:18:19Z Indexed on 2010/04/14 12:23 UTC
Read the original article Hit count: 439

Filed under:
|
|

I am trying to detect double taps on a view, but when the double tap comes, the first tap triggers an action on TouchesBegan, so, before detecting a double tap a single tap is always detected first.

How can I make this in a way that just detects the double tap?

I cannot use OS 3.x gestures, because I have to make it compatible with old OS versions.

thanks

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk