O'Reilly logo

Anyone Can Create an App: Beginning iPhone and iPad programming by Wendy L. Wise

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

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

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