Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a UITapAndAHalfRecognizer?

I notice that when I cycle through the gesture recognizers of a UITextView and output the description of each to the console, one of the recognizers that seemed utterly curious was the UITapAndAHalfRecognizer. I know about the others such as UITextTapRecognizer but this one really piqued my interest. Does anyone know what gestures this recognizer handles? How can you have half a tap? Is that a tap and then a press and hold?

like image 845
NoodleOfDeath Avatar asked Aug 20 '14 13:08

NoodleOfDeath


1 Answers

I don't know for certain, but I suspect that it's for a tap followed closely by a press (first half of a tap).

As per Ethan Holshouser' s comment, see also: http://iphonedevwiki.net/index.php/UIGestureRecognizer#UITapAndAHalfRecognizer

like image 135
Jeff Holliday Avatar answered Sep 28 '22 19:09

Jeff Holliday