0

I have a problem with this UIToolBar displaying images incorrectly. Some show fine and others don't. I was wondering if anyone has encountererd this before. Not sure if it's a transparency thing perhaps. You can see how image 1 and image 3 are white circles when actually they are png icon images.

thanks for any help

Here's the image I'm trying to show:

image

Here's a screenshot:

screenshot

hanumanDev
  • 6,592
  • 11
  • 82
  • 146
  • Did you make the images yourself? Did you make the settings Icon? Trying to get a little more info about how you came across these icons. – jhilgert00 Jan 11 '13 at 12:58
  • they were provided by a client. the gear image that is working is from glyph icons. thanks :) – hanumanDev Jan 11 '13 at 12:59
  • When you do a "Get Info" on the one that isn't working, does it have an Alpha Channel in the "More Info" section? – jhilgert00 Jan 11 '13 at 13:16
  • @jhilgert00 Get Info shows Alpha channel: Yes – hanumanDev Jan 11 '13 at 13:20
  • 1
    hmmm. Well, I would at least try to open one in Photoshop, and resave as a png-24 with transparency using File > Save for Web & Devices. Maybe there's something other than the alpha channel that's quirky. – jhilgert00 Jan 11 '13 at 13:22
  • @jhilgert00 I tried your suggestion but still the same thing. – hanumanDev Jan 11 '13 at 13:46

1 Answers1

1

Tab bar icons are just template images, so iOS renders the effects itself. You have to to add an image without any effects and colors to make it work properly. Check out the documentation here and here. In your example it may be a singlecolored circle with cutouts for the "az".

Thomas Kekeisen
  • 4,355
  • 4
  • 35
  • 54