I have UITabBarController with UITabBar which has three UITabBarItem.
Project is with storyboard. How can I set different image to each UITabBarItem?
I want do something like this:
TabBarItem1 -> image1_unselected and image1_selected
TabBarItem1 -> image2_unselected and image2_selected
TabBarItem1 -> image3_unselected and image3_selected
EDIT:
Probably I didn’t write precisely, but I want set custom image and make UITabbar with custom graphics. Something like UITabbar in “Find My Friends” app.
OK, I found solution.
At the beginning of
viewDidLoadin myfirsTabBarViewController.mI added this code:And now I have exactly what I want in my question.