Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming
by Maurice Sharp, Erica Sadun, Rod Strougo
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access