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

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming 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.