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 ...
Get Learning iOS UI Development 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.