Types of Gesture Recognizers

Gesture recognizers fall into two general categories, as defined by Apple:

Image Discrete: Discrete gesture recognizers are intended to handle cases in which the interaction is quick and simple, like a tap. In that case, the app really needs to know only that the tap occurred, and then can complete the desired action.

Image Continuous: Continuous gesture recognizers handle cases in which the interaction needs to keep getting information as the gesture proceeds, as in a pinch or rotation. In those cases, the app will likely require ...

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.