Chapter 13. Using Touch and Gesture Events

The iPhone, iPad, and iPod touch, like many portable devices nowadays, uses the finger as the only pointing device. Apple's devices even support several simultaneous contact points, which, along with a simple, intuitive graphical interface, makes their use fluid, efficient, and overall pleasing for the user. As we have explained in earlier chapters, this entails a close, almost intimate connection between the user and the device. This particular relationship favors realistic designs; for instance, building a poker game application, you can allow your user to virtually "throw" cards on a table with a simple flick of the finger, adding to the real-life impression.

Since version 2.0 of the OS, you can use ...

Get Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript 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.