I would use UIAppearance.
[[UITabBar appearance] setSelectedImageTintColor:[UIColor redColor]
];
문제
I have changed the default blue color of some selected text with setTitleTextAttributes.
However, the image still becomes blue when selected.
How can I change this behavior?
해결책
I would use UIAppearance.
[[UITabBar appearance] setSelectedImageTintColor:[UIColor redColor]
];