Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

One-Finger Events

This section uses flow charts to break down gestures into the individual actions that might generate events. Some of the events generated on iPhone are conditional—the events generated depend on what the user is tapping or touching and whether they are using one or two figures. Some gestures don’t generate any events on iPhone.

One-finger panning doesn’t generate any events until the user stops panning—an onscroll event is generated when the page stops moving and redraws—as shown in Figure 7-1.


Figure 7-1  The panning gesture

The panning gesture

Displaying the information bubble doesn’t generate any events as shown in Figure 7-2.


Figure 7-2  The touch and hold gesture

The touch and hold gesture

Finally, a double tap doesn’t generate any events either as shown in Figure 7-3.


Figure 7-3  The double-tap gesture

The double-tap gesture

However, if the user taps a clickable element, then some events are generated as shown in Figure 7-4. The flow of events are as follows:


Figure 7-4  One-finger gesture emulating a mouse

One-finger gesture emulating a mouse



< Previous PageNext Page > Hide TOC


Last updated: 2008-02-05




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice