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 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.