Further Exploration
Although we covered several different ways of working with rotation in the iPhone interface, you may want to explore additional features outside of this hour’s lesson. Using the Xcode documentation tool, review the UIView instance methods. You’ll see that there are additional methods that you can implement, such as willAnimateRotationToInterfaceOrientation:duration, which is used to set up a single-step animated rotation sequence. What’s more, you can combine these methods with segues—programmatically triggering a segue to a new scene when an orientation event occurs.
In short, there are a number of ways to create interfaces that do anything you want. It’s a good idea to practice the techniques discussed here to learn what will work best for your projects.