先說說應用程式圖示,一般有下面幾種:
Icon.png(57x57) - Homescreen icon on iPhone/iPod touch
Icon@2x.png(114x114)
- Homescreen icon on iPhone 4
Icon-72(72x72) -
Homescreen icon on iPad
Icon-Small.png(29x29)
- Icon in Spotlight and Settings app on iPhone/iPod touch and icon in Settings app on iPad
Icon-Small-50.png(50x50)
- Icon in Spotlight on iPad
Icon-Small@2x.png(59x59) - Icon in Spotlight and Settings app on iPhone 4
上面的的表徵圖還需要加入到應用程式的info.plist檔案的Icon files數組裡。
iTunesArtwork(512x512) - Icon in iTunes for Ad Hoc distribution builds
推薦下載apple example code:Icons來研究下
啟動圖片有下面幾種(從cocoachina弄來的):
iOS裝置現在有三種不同的解析度:iPhone 320x480、iPhone 4 640x960、iPad 768x1024。
以前程式的啟動畫面(圖片)只要準備一個 Default.png 就可以了,但是現在變得複雜多了。
下面就是 CocoaChina 會員做得總結
如果一個程式,既支援iPhone又支援iPad,那麼它需要包含下面幾個圖片:
Default-Portrait.png iPad專用豎向啟動畫面 768x1024或者768x1004
Default-Landscape.png iPad專用橫向啟動畫面 1024x768或者1024x748
Default-PortraitUpsideDown.png iPad專用豎向啟動畫面(Home按鈕在螢幕上面),可省略 768x1024或者768x1004
Default-LandscapeLeft.png iPad專用橫向啟動畫面,可省略 1024x768或者1024x748
Default-LandscapeRight.png iPad專用橫向啟動畫面,可省略 1024x768或者1024x748
Default.png iPhone預設啟動圖片,如果沒有提供上面幾個iPad專用啟動圖片,則在iPad上運行時也使用Default.png(不推薦) 320x480或者320x460
Default@2x.png iPhone4啟動圖片640x960或者640x920
為了在iPad上使用上述的啟動畫面,你還需要在info.plist中加入key: UISupportedInterfaceOrientations。同時,加入值UIInterfaceOrientationPortrait, UIInterfacOrientationPortraitUpsideDown,
UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight。
關於導覽列、工具列和標籤欄表徵圖的表徵圖設定,有下面幾條準則:
對於toolbar和navigation bar icons,可以建立如下尺寸的表徵圖:
對於tab bar icons,可以建立如下尺寸的表徵圖:
下面附上網上搜到的iPhone’s Interface Guidelines
for Designer.pdf文檔,裡面的資料也是很豐富的。先寫到這裡,有不全的以後在補充。