Specification of tab bar image?


#1

Where can I find appropriate tab bar images? Or can I create my own images? What are the specifications?

I tried creating one with 30x30 px in PNG format. After build and run, it just showed a opaque square instead of the image itself.
Does anyone know the problem with it?

Thanks!


#2

The images used in the UITabBar only use the alpha mask of the image. Thus, you need an image that specifies a shape with opaque pixels and the rest of the pixels are left transparent.