dub
dub

Reputation: 61

iPhone Tab Bar Control Icon Problem

I have a problem using icons with the tab bar control and I don't know to fix. The icons I'm using are png format 24*24.

They have a grey gradient background with a black shape in the middle. The problem I have is that only the background gradient shows. The Black shape in the middle does not.

Have I Used the wrong format or something? I read in a book to use png format size 24*24

Upvotes: 4

Views: 897

Answers (1)

Brock Woolf
Brock Woolf

Reputation: 47302

You can't use a background on your icon.

The icons are designed to be used like an alpha mask and background will make it look like a filled square. Remove the gradient and use an image with an icon in the middle and a transparent background.

Upvotes: 6

Related Questions