Timing a UITouch instance
I have a UIView with a gestureRecognizer for a tap or a slide, but I want to be able to time the users to开发者_开发技巧uch 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
The timestamp property of UITouch is probably what you want.
[touch timestamp]
精彩评论