Paz Labs
Creating you favourite apps.
  • Contact
  • Apps
  • Blog
Select Page ...

Blog

Format Icons for Navigation, Tool and Tab bar for xCode

admin December 5, 2012 Uncategorized No Comments

The first time I tried to add an icon for one of the iOS bar, I told my graphic designer (9am) to create an nice icon with this shine and the other drop, etc. They came back with very nice little icons, but to my surprise the icon were not working. I was getting a square with some shine on it.

So I went and read Apples document “Icons for Naviation Bars, Toolbars and Tab Bars“. The document I have to say that is it very complicated and I like to follow simple step by step instructions to get my results done.

Steps to create bar icons

  1. Create a nice icon using transparency and no background colors. You can either use colors, but at the end of the day your icon is going to be black and white as that is what we are allowed to do for bar icons.
  2. Open you icon in Photoshop.
  3. Image > Mode > Grayscale
  4. Select > All (⌘A)
  5. Edit > Copy (⌘C)
  6. Layer -> New -> Layer… (⇧⌘N)
  7. Layer > Layer Mask > Reveal All
  8. Channels: Make Layer 0 Mask visible
  9. Edit > Paste (⌘V)
  10. Image > Adjustments > Invert (⌘I)
  11. File > Save for Web… (⌥⇧⌘S)
  12. Select the size you want (40×40 for ToolBar and Navigation Bar and 60×60 for TabBar
  13. Select PNG-24 with Transparency

Original Icon

End Icon

← iPhone icons and images size and guidelines
Changing UINavigationBar appearance app wide →
admin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


nine + = 12

You can add widget to "blog" widget area by going to Appearance > Widget

Copyright © 2012 Paz-Labs.com. All Rights Reserved
Cleantalk Pixel