June 2011
Intermediate to advanced
590 pages
19h 31m
English
Many applications rotate and resize all of their views when the user rotates the device. You could implement this using notifications, but it would be a lot of work. Thankfully, you can use autorotation to simplify the process.
If the view on screen is controlled by a view controller, when the device is rotated, the view controller is asked if it is okay to rotate the view. If the view controller agrees, the view is resized and rotated. Its subviews are also resized and rotated.
To implement autorotation in HeavyRotation, you need to do two things:
Read now
Unlock full access