Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
What You’ll Learn in This Hour:
• How to create multiple scenes in the storyboard
• The use of segues to transition between scenes
• How to transfer data between scenes
• How to present and use popovers
This hour marks a major milestone in our iOS app development capabilities. In the last hour’s lesson, you learned about alert views and action sheets. These were the first UI elements we’ve explored that act as (somewhat) independent views that a user interacts with. We’ve also seen how to hide and show views, making it possible to customize your user interface. All of these, however, took place within a single scene. That means that no matter how much was going on onscreen, we used a single view controller and a single initial view to deal with it. In this hour, we break through those limits and introduce the ability to create applications with multiple scenes—in other words, multiple view controllers and multiple views.