{"id":503,"date":"2010-11-19T11:28:37","date_gmt":"2010-11-19T16:28:37","guid":{"rendered":"http:\/\/www.jaimerios.com\/?p=503"},"modified":"2010-11-19T11:28:37","modified_gmt":"2010-11-19T16:28:37","slug":"what-are-the-default-icon-sizes-in-iphone","status":"publish","type":"post","link":"https:\/\/jaimerios.com\/?p=503","title":{"rendered":"What are the default icon sizes in iPhone?"},"content":{"rendered":"<p><a href=\"https:\/\/jaimerios.com\/wp-content\/uploads\/2010\/11\/iphone_app_icon.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-510\" title=\"iphone_app_icon\" src=\"https:\/\/jaimerios.com\/wp-content\/uploads\/2010\/11\/iphone_app_icon.png\" alt=\"iPhone App Icon\" width=\"63\" height=\"63\" \/><\/a>For me, probably one of the first things I start to do whenever I create any application is toy around with the icons I think I&#8217;m going to use for the app.<\/p>\n<p>Now for the iPhone, I couldn&#8217;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?<\/p>\n<p>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.<\/p>\n<p>Even in Cocoa, the icon editor program actually gave you the sizes that you are supposed to use. That&#8217;s pretty easy!<\/p>\n<p>But what about the iPhone OS? Couldn&#8217;t tell you.<\/p>\n<p>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 &#8220;iPhone Human Interface Guidelines&#8221; did I see the chapter titled, &#8220;Creating Custom Icons and Images&#8221;. 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:<\/p>\n<ul>\n<li>App icon: 57 X 57<\/li>\n<li>iTunes app icon: 512 X 512<\/li>\n<li>Small app icon: 29 X 29<\/li>\n<li>Toolbar and navigation bar icons: 20 X 20<\/li>\n<li>Tab bar icon: 30 X 30<\/li>\n<\/ul>\n<p>Also, the images should be saved as PNGs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continuing my iPhone development, I had a hard time finding the default icon sizes.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,20],"tags":[254,256],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-coding","category-not-so-funny","tag-ios","tag-iphone"],"_links":{"self":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=503"}],"version-history":[{"count":0,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}