Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Up until now, we’ve presented new views using our Navigation Controller. Things are a little different for modal views: any UIViewController can show a modal view, then dismiss it when necessary. To display a modal view on top of the current view, simply send the current view the presentModalView Controller:animated: message. Since our RootViewController is the View Controller that needs to show the modal view, we can just send this message to ourselves, using self, like this: