PDA

View Full Version : Detecting a screen tap




TAKEphONE
Sep 1, 2008, 01:35 PM
Hi,

I am writing an iPhone application, and trying to do this:

I have a search code that takes quite some time. I need a way to detect if a user taps on the screen to abort the search loop.

How do I do this ?

TIA



Xander787
Sep 1, 2008, 05:16 PM
This page from apple should help you out: Here (http://developer.apple.com/iphone/library/codinghowtos/UserExperience/index.html#MULTI_TOUCH-HANDLE_TOUCH_EVENTS_SUCH_AS_TRACKING_THE_USER_S_FINGER_OR_DETECTING_A_MULTI_TOUCH_EVENT)

TAKEphONE
Sep 2, 2008, 01:16 AM
Thanks !