O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

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

Car Valet: Moving Info

As with the navigation controller, you can modify the behaviors of a toolbar by using methods and properties. You can change the order of tab items, change the tab items, and find or set the currently selected tab.

In this section, you create a tab for the About view. Note that you could do all this in the storyboard, but going through the following steps gives you a chance to dynamically update the tab bar items:

1. Remove the About button from the navigation items in the main add/view scene by selecting the bar button item in IB or the browser and deleting it.

2. Open ViewController.m and remove the import of AboutViewController.h. Also remove the aboutCarValet: method implementation from the file, as well as the declaration ...

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