Reputation: 1161
I have a UIView with a gestureRecognizer for a tap or a slide, but I want to be able to time the users touch time and if it is larger than a certain time value I want to trigger another method.
How is the time of a UITouch gesture accessed?
Thanks
Upvotes: 0
Views: 468
Reputation: 2363
The timestamp property of UITouch is probably what you want.
[touch timestamp]
Upvotes: 2