Domanda

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?

enter image description here enter image description here

È stato utile?

Soluzione 2

I solved it in this way: the images must be in white scale!

Altri suggerimenti

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.

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top