O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

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

Tab Bar Controller

A navigation controller is good for moving through related scenes. But what if you have different functionality or different categories of scenes? For that, you want a navigation controller that switches between different kinds of content. This is what UITabBarController provides.

A good example is the Clock app, shown in Figure 7-9. On the bottom of the app is a bar with four buttons, the tab bar. Each tab shows a different major function of Clock. Three of those areas have at least two screens: World Clock has a screen to add or edit a city, Alarm has one for adding or editing the details for an alarm, and Timer lets you specify a sound.

Figure 7-9 Clock app

Each of the four areas has a different layout and performs different ...

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