Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

amalshah71

macrumors member
Original poster
Feb 1, 2009
51
0
Hello,
i am adding tab bar and it's items through interface builder.
And then setting the UITabBarItem image....but it doesn't show properly...

It just shows a greyish image...which is not actually the image that i have...

What am i missing? Are the images for tab bar meant to different of some sort?

amal
 

Attachments

  • Picture 1.png
    Picture 1.png
    35.5 KB · Views: 365
As far as I recall, they need to follow these guidelines:

30x30
PNG
Anti-aliased
Transparency set
 
Hello,
My graphics guy seems to have followed the following guidelines

30x30
PNG
Anti-aliased
Transparency set

still i have the same ouput


and one of the image is...

"The RGB channels of the image are completely ignored and you need to use the alpha channel exclusively."....what does this mean...what do i tell the graphics guy to exactly do...

If anyone could share one of the images that do work on UITabBarItem....it would be of help...

Still, what i am missing?


Thanks
amal
 

Attachments

  • Picture 1.png
    Picture 1.png
    36.1 KB · Views: 3,084
  • 30x30.png
    30x30.png
    917 bytes · Views: 5,037
That second image you linked to is your problem. Tab images are meant to be "cut-out" icons rather than solid squares as you have there.

Again, correct me if I'm wrong.
 
"The RGB channels of the image are completely ignored and you need to use the alpha channel exclusively."....what does this mean...what do i tell the graphics guy to exactly do...
Your graphics guy should understand what this means. If not, maybe time for a new graphics guy? :confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.