CHAPTER 13 EXERCISE SOLUTIONS

Answer to Question 1

The three affine transformations are translation, rotation, and scaling.

Answer to Question 2

The only way to pause the NSTimer object is to call its invalidate method. To resume it, you have to create a new NSTimer object.

Answer to Question 3

The animatingWithDuration:animations: method of the UIView class enables you to enclose a block of code that causes visual changes to your views, such that the changes in visual appearance will be animated, and not appear choppily.

Answer to Question 4

You can play a video using the MPMoviePlayerController class.

Get Beginning iOS 5 Application 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.