PDA

View Full Version : Tab Bar Icons?




ArtOfWarfare
Aug 16, 2008, 06:55 PM
Is there an online library or something of some extra tab bar icons I can use?

... and is there a way to use the default tab bar icons (like Favorites, History, and Bookmarks,) but with different titles? Whenever I try to change the title it changes the icon to a question mark block.

And finally... anyone have a list of advice for making custom tab bar icons?

Like how to make it be the same gradiant as the normal ones? (Or do I just need to make it all white and then it'll automatically apply the proper gradient/shine/whatever?) And the size? I'm guessing they're all 32x32 right now...

Edit:

Wow, that was pretty easy. For anyone else wondering how to make custom tab bar icons...

The size should be no more than 32x32 (and even 32x32 is pretty big, I'd recommend knocking the size down to between 28x28 and 30x30.)

png seems to work just fine. I suspect tif works too but I didn't try it.

If you want your icon to look official, have it be mostly transparent. (For example, I wanted a quote bubble icon... I made a quote bubble, then stuck a large black circle in the center. Then in preview I used the Instant Alpha tool to remove the black hole so all that remained was a gradient outline of a quote bubble.)

The actual colored parts should be 64% at the top and 36% at the bottom (or at least those are the shades of gray I used.)

To get it into your project, open XCode, then drag the image files into the resource file. If you open your interface builder files, they should be available to use as icons for your tab bar (listed in the atributes for your tab bar buttons.)



beachdog
Aug 18, 2008, 01:43 PM
Thanks for posting your tips, that is helpful. I was wondering, though, about your original question -- did you find any source for "standard" toolbar icons that are frequently used, like search, favorites, categories, etc..?

jeremy.king
Aug 18, 2008, 01:58 PM
I find that a lot of the *Dings fonts contain nice "icons"

backlight
Oct 31, 2009, 12:00 PM
there are iphone tab bar icons collections (http://www.iconsberlin.com) like at iconsberlin.com. you may also try to request an icon, which might get added to the collection for free.

dejo
Oct 31, 2009, 02:17 PM
Also, note that tab bar icons ignore the color channels of the image and rely solely on the alpha channel.