Reputation: 1004
This is really a strange problem. I have a tab bar controller with 5 tabs. Each tab has its own image and title. I deleted the associated nib file for one of the tabs and created it from scratch. Now everything is fine except that when I run the program, that particular tab is missing its title and image. All other tabs are fine. Also when I look at the main view nib file shows all tab titles and images.
Any help?
Upvotes: 0
Views: 617
Reputation: 12325
You can set them programmatically,
yourViewController.title = @"Title";
yourViewController.tabBarItem.image = [UIImage imageNamed:@"imageName.png"];
Upvotes: 1