8. Gestures and Touches

The touch represents the heart of iPhone interaction; it provides the most important way that users communicate their intent to an application. Touches are not limited to button presses and keyboard interaction. You can design and build applications that work directly with users’ taps and other gestures. This chapter introduces direct manipulation interfaces that go far beyond prebuilt controls. You see how to create views that users can drag around the screen. You also discover how to distinguish and interpret gestures and how to work with the iPhone’s built-in multitouch sensors. By the time you finish reading this chapter, you’ll have read about many different ways you can implement gesture control in your own applications. ...

Get The iPhone™ Developer’s Cookbook: Building Applications with the iPhone 3.0 SDK, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.