Tab Bar Icons?

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

  1. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #1
    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.)
     
  2. beachdog macrumors member

    Joined:
    Aug 10, 2008
    #2
    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

    jeremy.king

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

    Joined:
    Oct 31, 2009
    #4
  5. dejo Moderator

    dejo

    Staff Member

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

Share This Page