Appendix A. Exploring the MultiTouch Interface

In this appendix, we will cover:

  • Sensing the movement and device orientation
  • Using the shake gesture with the touch interface
  • Detecting device touches with the touch interface
  • Sensing movement with the accelerometer input
  • Understanding the core motion framework
  • Working with the iOS device gyroscope

Introduction

The Apple iOS device's primary interface with which you communicate is its large Multi touch display. Since there is no physical keyboard attached, everything is done via the screen to allow you to interact with your applications in a more natural way. Any object can be moved around the screen, zoomed in and out, and scrolled up and down using simple gestures.

In this appendix, we will see how easy it is to incorporate both single touch and multi touch support into our applications, to detect when the iOS device orientation has changed as well as how to handle and respond to shake motions, before finally learning about the accelerometer and the gyroscope.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset