Quote:
Originally Posted by kieran12
Thanks. I thought about 30 px was right. But when I save the image and add it to my project and set it as the tab bar icon all I get is a blue gradient square. I have tried saving as png, tiff and jpeg but I still get this blue square instead of my image. Any ideas?
|
The Tab Bar uses the black/clear channels to make a mask of the image. Anything non-clear will show up as the image on the tab bar. Use gradients from black to clear to create pretty icons that fit into the 30x30 frame. blurring the edges creates crisper looking images with less pixelation. your images are showing up as boxes because you have an unclear background in your image. Also, though it's a personal preference, I found that ios uses bmp very nicely with any sort of image manipulation and display. it support clear backgrounds, is rather compact in size and most of what cocoa uses is bmp anyways...