Alex Rivera | Logout

How to get functionality of Long Press gesture in iOS below 3.2

Asked 2010-12-30T20:09:41.650
10

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

Edit
Report

1 Answer

1

Implement the touches... methods in your view. If a certain amount of time passes between touchesBegan:withEvent: and touchesEnded:withEvent: without any touchesMoved:withEvent: events, you have a long press.

answered 2010-12-30T20:29:25.510

Your Answer