Preserving the original image color of the selected and unselected UITabBar icons
The structure is the following: In my storyboard, I have a Tab Bar Controller which contains a Tab Bar object. This object has a custom class in which I have only this method: - (void)awakeFromNib { NSArray *imageNames = @[@"test1", @"test2", @"test3", @"test4", @"test5"]; for (int i=0; i<5; i++) { UITabBarItem *item = [self.items objectAtIndex:i]; NSString *imageName = [imageNames objectAtIndex:i]; item.image = [[UIImage imageNamed:imageName] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; item.selectedImage = [UIImage imageNamed:[imageName stringByAppendingString:@"-selected"]];