Tab bar icons always have a grey tint by default and a blue gradient when selected. That is all good but what happens if this colour scheme does not fit your design.?
Here is how to change that.
UIImage* icon1 = [UIImage imageNamed:@"icon1"]; UITabBarItem *updatesItem = [[UITabBarItem alloc] initWithTitle:@"Label 1"; image:icon1 tag:0]; [updatesItem setFinishedSelectedImage:icon1 withFinishedUnselectedImage:icon1]; [navigationController setTabBarItem:updatesItem];
What this does is to make sure both the selected and unselected images are set to the same image. You can change it to two different images if you wish.