Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming
by Maurice Sharp, Erica Sadun, Rod Strougo
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access