34,333
edits
Changes
→Discrete and Continuous Gestures
<htmlet>ios10</htmlet>
== Discrete and Continuous Gestures ==
<htmlet>adsdaqbox_flow</htmlet>
Gestures fall into two distinct categories – discrete and continuous. A discrete gesture results in only a single call being made to the corresponding action method. Tap gestures (including multiple taps) are considered to be discrete because they only trigger the action method once. Gestures such as swipes, pans, rotations and pinches are deemed to be continuous in that they trigger a constant stream of calls to the corresponding action methods until the gesture ends.