How do I change background color of UITabItem when item is selected
ios, objective-c, uitabbar, uitabbarcontroller
Solution
Put this in the `Appdelegate.m` in `application didFinishLaunchingWithOptions`
UIImage *whiteBackground = [UIImage imageNamed:@"whiteBackground"];
[[UITabBar appearance] setSelectionIndicatorImage:whiteBackground];
Problem
I would like a different background color when the user selects a tab bar item than when it is unselected.