Phases
Touches have life cycles. Each touch can pass through any of five phases that represent the progress of the touch within an interface. These phases are as follows:
UITouchPhaseBegan—Starts when the user touches the screen.
UITouchPhaseMoved—Means a touch has moved on the screen.
UITouchPhaseStationary—Indicates that a touch remains on the screen surface but that there has not been any movement since the previous event.
UITouchPhaseEnded ...
Get The Core iOS Developer’s Cookbook, Fifth Edition 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.