Chapter 10
Adding Animation and Sound to Your App
In This Chapter
Understanding the iPhone coordinate system
Animating the car (view)
Working with the block object pattern
Detecting and responding to touches
Animating in place
Although it may take some time before you go on your road trip, as well as complete the building of the app I’m showing you in this book, the least I can do is show you how to take a test drive in your ’59 pink Cadillac Eldorado convertible.
In this chapter, you find out how to make the car move up the screen, turn around, and move back to its original position — and with appropriate sound effects.
I also show you how to drag the car on the screen to position the ride from wherever you’d like. And to add just a little more pizazz, I show you how to make the TestDrive button blink.
This chapter provides you with a very good base for understanding animation and sound, and explains how to manage touches on the screen.
Understanding Animation on the iPhone
Fortunately, ...
Get iPhone® Application Development For Dummies®, 4th 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.