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 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.