In my iPad application, I use tabBarController. I run the following code to select a specific tab:
[tabBarController setSelectedViewController:myNavigationController]
(I am changing the selectedViewController property of the UITabBarController class, see apple docs )
This works fine; the only problem is that when users go to the "More ..." screen using the upper left button, the icon for the previously selected tab is missing:

When I move manually, there is no problem. Icons are always visible on the Advanced screen. The problem only occurs when I use the setSelectedViewController method.
Tab bar items are created as follows:
newVC = [[SynchronizeViewController alloc] init]; newVC.tabBarItem = [[UITabBarItem alloc] initWithTitle:NSLocalizedString(@"SYNCHRONIZE", @"synchronize tab label") image:[UIImage imageNamed:@"02-redo.png"] tag:0];
Has anyone encountered the same problem and found a way to fix this? Thanks in advance!
source share