天天看點

iOS各種圖示尺寸規格

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1

Icon and Image Sizes

Every app needs an app icon and a launch file or image. In addition, some apps need custom icons to represent app-specific content, functions, or modes in navigation bars, toolbars, and tab bars.

Unlike other custom artwork in your app, the icons and images listed in Table 41-1 must meet specific criteria so that iOS can display them properly. In addition, some icon and image files have naming requirements (to learn about naming these files, see App Icons and App Launch (Default) Images).

Table 41-1Size (in pixels) of custom icons and images

Asset iPhone 6 Plus (@3x) iPhone 6 and iPhone 5 (@2x) iPhone 4s (@2x) iPad and iPad mini (@2x) iPad 2 and iPad mini (@1x)
App icon (required for all apps) 180 x 180 120 x 120 120 x 120 152 x 152 76 x 76
App icon for the App Store (required for all apps) 1024 x 1024 1024 x 1024 1024 x 1024 1024 x 1024 1024 x 1024
Launch file or image (required for all apps) Use a launch file (seeLaunch Images)

For iPhone 6, use a launch file (see Launch Images)

For iPhone 5, 640 x 1136

640 x 960

1536 x 2048 (portrait)

2048 x 1536 (landscape)

768 x 1024 (portrait)

1024 x 768 (landscape)

Spotlight search results icon (recommended) 120 x 120 80 x 80 80 x 80 80 x 80 40 x 40
Settings icon (recommended) 87 x 87 58 x 58 58 x 58 58 x 58 29 x 29
Toolbar and navigation bar icon (optional) About 66 x 66 About 44 x 44 About 44 x 44 About 44 x 44 About 22 x 22
Tab bar icon (optional) About 75 x 75 (maximum: 144 x 96) About 50 x 50 (maximum: 96 x 64) About 50 x 50 (maximum: 96 x 64) About 50 x 50 (maximum: 96 x 64) About 25 x 25 (maximum: 48 x 32)
Default Newsstand cover icon for the App Store (required for Newsstand apps) At least 1024 pixels on the longest edge At least 1024 pixels on the longest edge At least 1024 pixels on the longest edge At least 1024 pixels on the longest edge At least 512 pixels on the longest edge
Web clip icon (recommended for web apps and websites) 180 x 180 120 x 120 120 x 120 152 x 152 76 x 76

For all images and icons, the PNG format is recommended. You should avoid using interlaced PNGs.

The standard bit depth for icons and images is 24 bits—that is, 8 bits each for red, green, and blue—plus an 8-bit alpha channel, for a total of 32 bits.

You don’t need to constrain your palette to web-safe colors.

圖示和圖像大小

每一個應用程式需要一個應用程式圖示和啟動圖像。此外,一些應用程式需要自定義的圖示來表示特定于應用程式的内容,功能,或在導航欄,工具欄和标簽欄模式。

不像其他的定制藝術品在您的應用程式的圖示和圖像,表38-1列出必須滿足特定的标準,是以,IOS可以正确顯示。此外,一些圖示和圖像檔案的命名要求。(如果你需要支援标準分辨率的iPhone或iPod touch裝置,除以2下面列出高分辨率的大小。)

表38-1自定義圖示和圖像尺寸(像素)

描述 iPhone 5和iPod touch的尺寸(高清晰度) 大小為iPhone和iPod touch(高分辨率) iPad的尺寸為(高清晰度) 大小為iPad 2和iPad迷你(标準分辨率)
應用程式圖示(應用程式所需的所有) 120×120 120×120 152×152 76×76
為App Store(應用程式所需的所有應用程式圖示) 1024×1024 1024×1024 1024×1024 1024×1024
啟動影像(所有的應用程式所需的) 640×1136 640×960

1536×2048(縱向)

2048×1536(橫向)

768×1024(縱向)

1024×768(橫向)

Spotlight搜尋結果圖示(推薦) 80×80 80×80 80×80 40×40
設定圖示(推薦) 58×58 58×58 58×58 29×29
工具欄和導航欄圖示(可選) 關于44×44 關于44×44 關于44×44 約22×22
标簽欄圖示(可選) 約60×60(最大:96×64) 約60×60(最大:96×64) 約60×60(最大:96×64) 約30×30(最大:48×32)
預設報刊亭蓋為App Store圖示(書報亭應用程式所需) 至少為1024像素的最長邊 至少為1024像素的最長邊 至少為1024像素的最長邊 至少為1024像素的最長邊
網頁剪輯圖示(推薦的Web應用程式和網站) 120×120 120×120 144×144 72×72

所有圖像和圖示,PNG格式的建議。你應該避免使用隔行掃描的PNG圖像。

圖示和圖像的标準位深度為24位,8位分别為紅,綠,藍加一個8位的alpha通道。

你并不需要限制你的網頁安全色調色闆。

官方 https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1

PDS模闆 http://www.cocoachina.com/applenews/devnews/2013/0805/6729.html

繼續閱讀