I solved it in this way: the images must be in white scale!
Add icons in UITabItem for UITabBarViewController with Xcode 5.0
-
30-06-2022 - |
题
I would to use a tabbar based app.
So, I added a UITabbarViewController in my storyboardapp but I can't configure the tab icons. When I set the icon in the tabItem I see only a gray shape...
I use xcode 5.0.
Is there a particular way to set icons on the tabbar?
解决方案 2
其他提示
You just set the icon for each view controller by pressing on the tab bar for that particular view controller and then changing the image
property within Interface Builder. Make sure you've added the images to Xcode first and then after you type the image name, hit enter and it should update it.
不隶属于 StackOverflow