views:

27

answers:

1

Hello,

I added a UITabBarController to my ViewController in IB, and created an iVar in the View Controller's class that is hooked up to the tabbarcontroller. I add the tabs in my viewDidLoad method, but the text and images for the tab bar items don't appear until they are clicked on.

Any idea why this happens?

A: 

Where are you initializing the UITabBarItem for each of the view controllers that the tab bar displays?

Saurabh Sharan