I have a problem with the tabBarItem icon. Here is a screenshot of part of my storyboard.

There is a basic viewController with several buttons. When one of these buttons is pressed, the tabBarController tab appears with three tabs. In iOS 8, tabBarItems icons are not displayed initially. If I change the view controller, both the icons of the previous and current controller of the .if view are displayed to select the third tab, then all tabBarItems icons will appear. Here is a screenshot of my problem:
First appearance of TabBarController:

If I change the tab:

Here is the code I use to set the icons (all 30x30 icons) of the tabBarItems in the viewDidLoad method of the first viewController from the TabBarController:
[[[self.tabBarController.viewControllers objectAtIndex:0] tabBarItem] setFinishedSelectedImage:[UIImage imageNamed:@"1d1.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"1b1.png"]]; [[[self.tabBarController.viewControllers objectAtIndex:1] tabBarItem] setFinishedSelectedImage:[UIImage imageNamed:@"2d1.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"2b1.png"]]; [[[self.tabBarController.viewControllers objectAtIndex:2] tabBarItem] setFinishedSelectedImage:[UIImage imageNamed:@"3d1.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"3b1.png"]];
Here is a screenshot of iOS 7 that works correctly:

Can anyone help me with this?
source share