Chapter 14. Put it on my tab: creating tab bars

This chapter covers

  • Using Tab Bar Controllers
  • Creating tab bars
  • Adding labels to tabs

You use a Tab Bar Controller every time you use the phone app on your iPhone, although you probably didn’t know what it was called until now. The tab bar is the bar at the bottom of many apps that has several buttons with icons on it. For example, in the Phone app, you have bottom icons for Favorites, Recents, Contacts, Keypad, and Voicemail. Tab Bar Controllers are powerful and allow for attractive and smooth navigation through your app.

14.1. The Tab Bar Controller

The easiest way to learn about Tab Bar Controllers is to create an app so you can see them in action. Let’s do that now, starting with pseudocode ...

Get Anyone Can Create an App: Beginning iPhone and iPad programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.