What are the default icon sizes in iPhone?
Now for the iPhone, I couldn’t easily find an article in the documentation about the specs for icons. How big are they supposed to be? What format should they be in? Where should the be stored?
In the old API, Carbon, you would use a resource editor to manage these images and the icon size is right there in the program.
Even in Cocoa, the icon editor program actually gave you the sizes that you are supposed to use. That’s pretty easy!
But what about the iPhone OS? Couldn’t tell you.
I found some examples on the web from other developers, but it bothered me that there was nothing written by Apple. But then, as I read the “iPhone Human Interface Guidelines” did I see the chapter titled, “Creating Custom Icons and Images”. Now to me, I thought this had something to do with non-default images, but to my surprise, the icon sizes I was looking for was right there:
- App icon: 57 X 57
- iTunes app icon: 512 X 512
- Small app icon: 29 X 29
- Toolbar and navigation bar icons: 20 X 20
- Tab bar icon: 30 X 30
Also, the images should be saved as PNGs.