Gold Challenge: Overriding Autorotation

After reading the section called “For the More Curious: Overriding Autorotation”, place another UIButton on the lefthand side of the HeavyViewController’s view. When the device rotates to landscape, this button should appear centered on the righthand side of the view. (And when the device rotates back to portrait, the button should appear on the lefthand side again.)

Get iOS Programming: The Big Nerd Ranch Guide 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.