Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12. User Input > Introduction to User Input

Introduction to User Input

Handling user touches is fundamental to the iPhone. Without the ability to recognize one or more touches on the screen, you would not be able to interact with the iPhone, essentially making it an attractive paperweight.

Because of this, Apple has provided a framework that enables you to capture and process touch events. We see throughout this chapter how this framework and the events generated can be used to control a game.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial