How to get functionality of Long Press gesture in iOS below 3.2
问题 UILongPressGesture is available in ios ver 3.2 and later. But i am trying to develop application for maximum compatibility and hence targeting ios ver2.0 Can anyone please guide me on how to accomplish long press gesture in ios v2.0 回答1: For a single finger, it's pretty simple: Start a timer in the touchesBegan method and trigger an action when the timer fires. Cancel the timer if you get a touchesEnded before it fires. Here's an implementation that uses the performSelector:withObject