iPhone App Icon:
圖示名稱
尺寸
用途
是否必需
Icon.png
57×57
App Store和iPhone、iPod touch桌面顯示
是
114×114
Icon.png的高清模式
Icon-Small.png
29×29
“設定”應用和Soptlight搜尋
否
58×58
Icon-Small.png的高清模式
iPad App Icon:
Icon-72.png
72×72
iPad桌面顯示
Icon-50.png
50×50
Spotlight搜尋
Icon-29.png
“設定”應用
iPhone、iPad通用App Icon:
iPad的Soptlight搜尋
“設定”應用和iPhone、iPod touch的Soptlight搜尋
<a href="http://dangpu-wordpress.stor.sinaapp.com/uploads/2012/07/NavigationBar+TabBar.png"></a>
<a href="http://dangpu-wordpress.stor.sinaapp.com/uploads/2012/07/PromptNavigationBar+ToolBar.png"></a>
延伸閱讀:Points VS. Pixels
The iPhone 4 introduced a high resolution display with twice the pixels of previous iPhones. However you don't have to modify your code to support high-res displays; the coordinate system goes by points rather than pixels, and the dimensions in points of the screen and all UI elements remain the same. iOS 4 supports high resolution displays (like the iPhone 4 display) via the scale property on UIScreen, UIView, UIImage, and CALayer classes. If the object is displaying high-res content, its scale property is set to 2.0. Otherwise it defaults to 1.0. All you need to do to support high-res displays is to provide @2x versions of the images in your project. See the checklist for updating to iOS4 or Apple documentation for Supporting High Resolution Screens for more info.
譯:
iPhone 4引入了高分辨率顯示器兩倍的像素的以前的iPhone。但是你不需要修改代碼以支援高分辨率顯示器;坐标系統的流逝點而不是像素,在螢幕的尺寸點和所有UI元素保持不變。
iOS 4支援高分辨率顯示器(像iPhone 4顯示)通過在UIScreen scale特性,UIView,UIImage,CALayer類。如果對象是顯示高清晰的内容,其規模屬性設定為2.0。否則它的預設值為1.0。
所有您需要做的來支援高分辨率顯示器是提供@2x版本的圖像在您的項目中。看到檢查表更新到iOS4或蘋果文檔支援高分辨率螢幕擷取更多的資訊。
原文連接配接:http://dangpu.sinaapp.com/?p=59
本文轉自新風作浪 51CTO部落格,原文連結:http://blog.51cto.com/duxinfeng/1208731,如需轉載請自行聯系原作者