O'Reilly logo

Learning iOS UI Development by Yari D'areglia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. UI Interactions – Touches and Gestures

Users communicate with your interfaces through touch. Creating a responsive and strongly interactive user experience is, therefore, one of the keys to the success of your applications. In this chapter, you will learn how to handle all data exchanged with your app via the touchscreen, how to convert it into information that can be handled by your code, and how to launch activities in response to user interaction.

Events and touches

The events managed by iOS during user interaction are grouped into three main sets:

  • Multitouch events are generated by the interaction with the screen
  • Motion events are sensed by the accelerometer
  • Remote-control events are mostly originated by external accessories

Even if these ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required