9

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?

rolling_codes
  • 15,174
  • 22
  • 76
  • 112
  • 1
    http://iphonedevwiki.net/index.php/UIGestureRecognizer#UITapAndAHalfRecognizer – Ethan Holshouser Aug 20 '14 at 14:30
  • Nice find Ethan. I know it's a "link" answer but if you want to put it as an answer instead of a comment with constructive explanation for other users that stumble upon this thread, that would be awesome. – rolling_codes Aug 20 '14 at 14:51

1 Answers1

3

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

rolling_codes
  • 15,174
  • 22
  • 76
  • 112
Jeff Holliday
  • 760
  • 6
  • 7