Chapter 8UITabBar and UITabBarController

Key Skills & Concepts

• Understanding tab bars

• Using the Tab Bar Application template

• Creating an application that uses a tab bar

• Adding tabs to a tab bar

• Customizing a tab bar

A tab bar consists of two or more tabs along a window’s bottom. Each tab contains a view controller. As a user selects a tab, the tab loads its view controller, which in turn loads and displays its associated view. In this chapter, you explore creating tabbed applications. In the first task, you create a tabbed application using Xcode’s Tab Bar Application template. After examining this template’s results, you manually add a third tab to the tab bar. In the next task, you start with a Window-based Application template and ...

Get iOS SDK Programming A Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.