O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a UITabBarController

Just as you did in Chapter 12 when adding navigation controllers, you will add the tab bar controller to the window directly in the app delegate.
The tab bar will manage two view controllers: the WebViewController and the SettingsViewController. To see how navigation controllers and tab bar controllers work together, you will wrap the SettingsViewController in a navigation controller. You can see how the tab bar organizes the views in the following image.
318
When combining tab bar controllers and navigation controllers, always put the tab bar controller at the root of the hierarchy.
To add the UITabBarController, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required