Tab Bar Application With Navigation Controller

Once you have a tab bar in a XIB, the easiest way to approach this is to drag a UINavigationController object over from the Library window (looks like a left nav bar button on a gold background) into the Tree View for your tab bar (the text only view, not the GUI). Place the navigation controller inside the tab bar controller, then drag your existing view controller inside the navigation controller.

When you go to view that tab you should then see a navigation bar on the top of it… if you are loading the navigation controller from another xib, you’ll modify the nav bar in the tab bar xib.

Leave a Comment