Tab Bar Icons?

Discussion in 'iOS Programming' started by ArtOfWarfare, Aug 16, 2008.

  1. ArtOfWarfare macrumors G3


    Nov 26, 2007
    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...


    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.)
  2. beachdog macrumors member

    Aug 10, 2008
    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..?
  3. jeremy.king macrumors 603


    Jul 23, 2002
    Fuquay Varina, NC
    I find that a lot of the *Dings fonts contain nice "icons"
  4. backlight macrumors newbie

    Oct 31, 2009
  5. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Also, note that tab bar icons ignore the color channels of the image and rely solely on the alpha channel.

Share This Page