iPhone and iPod Touch Programming: Handling Touch Interactions and Events for Mobile Safari by Richard Wagner

BUY THIS ITEM

  • Add To List uiAction=GetAllLists&page=List&pageType=list&ean=9780470260227&productCode=BK&maxCount=100&threshold=3

(Other Format)

  • Pub. Date: October 2007
  • 26pp
     
    • Overview
    • Editorial Reviews
    • Features

    Product Details

    • Pub. Date: October 2007
    • Publisher: Wrox Press, Inc.
    • Format: Other Format, 26pp

    Synopsis

    This Wrox Blox explains touch input events and illustrates how to detect an orientation change, capture two-finger scrolling inputs, and simulate a drag-and-drop action when designing applications for the iPhone and iPod Touch. Web developers designing applications for Mobile Safari, the browser on iPhone and iPod Touch, are able to easily incorporate touch input event handling without writing any code at all. However, while page flicking and scrolling are easy to implement, Mobile Safari does not provide a way to trap or override most touch interactions, nor does it allow developers full access to all DOM events.

    Perhaps the most important event handling constraint is that no events trigger until the user’s finger leaves the touch screen. However, because developers are able to trap for viewport orientation changes, they do have full programmatic control over their application when the orientation changes between portrait and landscape modes. As a result, you can adjust CSS styling and positioning based on the current mode.

    Usage Rights for Wiley Wrox Blox

    More Reviews and Recommendations

    Biography

    Richard Wagner is an experienced web designer and developer as well as an author of several web related books on the underlying technologies of the Mobile Safari platform. These books include Creating Web Pages All-in-One Desk Reference For Dummies, XML All-In-One Desk Reference For Dummies, XSLT For Dummies, Web Design Before & After Makeovers, and JavaScript Unleashed (1st and 2nd eds.). Before moving into full-time authoring, Richard was an experienced programmer and vice president of product development at NetObjects. He was also inventor and chief architect of the award-winning NetObjects ScriptBuilder. A versatile author with a wide range of interests, he is also author of C.S. Lewis & Narnia For Dummies.

    Customer Reviews

    • Reader Rating:
    Be the first to write a review!