注意:
1.純橫屏游戲與純豎屏游戲所使用的圖片引入方式有一定區(qū)別,純橫屏游戲使用Asset Catalog導入閃屏圖片資源時舔哪,可能會出現(xiàn)低版本iPhone沒有閃屏的情況,所以使用copy bundle 依賴的方式去做圖片資源依賴锻离。參考
2.蘋果最新的要求icon必須以asset的方式添加依賴铺峭,否則可能會刪掉itunes中的bundle,并且回復錯誤:
Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'com.GF.palacehy3krkr.ftkios.app'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7.
3.重要提醒,參考
icon標準
尺寸 | 用途 |
---|---|
57*57 | iOS6.1及以下iPhone,iPod-Touch使用 |
72*72 | iOS6.1及以下iPad使用 |
76*76 | iPad非Retina屏使用 |
114*114 | iOS6.1及以下iPhone纳账,iPod-Touch Retina屏使用 |
120*120 | iPhone逛薇,iPod-Touch Retina屏使用 |
144*144 | iOS6.1以下iPad Retina屏使用 |
152*152 | iPad Retina屏使用 |
167*167 | iPad Pro Retina屏使用 |
180*180 | iPhone 5.5,iPhone X 機型使用 |
1024*1024 | Xcode 9新加,用于itunes 后臺顯示 |
launch(閃屏) 標準(橫屏)
尺寸 | 用途 |
---|---|
320 * 480 | iPhone 3.5 非Retina屏使用 |
640 * 960 | iPhone 3.5 Retina屏使用 |
640 *?1136 | iPhone 4.0 Retina屏使用 |
1024 * 768 | iPad 非Retina屏使用 |
2048?*?1536 | iPad Retina屏使用 |
2436?×?1125 | iPhone X屏使用 |
750?×?1334 | iPhone 4.7 Retina屏使用 |
2208?×?1242 | iPhone 5.5 Retina屏使用 |
1242?×?2208 | iPhone 5.5 Retina屏使用 |
1125 × 2436 | iPhone X屏使用 |
launch(閃屏) 標準(豎屏)
尺寸 | 用途 |
---|---|
320 * 480 | iPhone 3.5 非Retina屏使用 |
640 * 960 | iPhone 3.5 Retina屏使用 |
640 *?1136 | iPhone 4.0 Retina屏使用 |
1136 * 640 | iPhone 4.0 Retina屏使用 |
750 *??1334 | iPhone 4.7 Retina屏使用 |
1242? * ?2208 | iPhone 5.5 Retina屏使用 |
2208? * ?1242 | iPhone 5.5 Retina屏使用 |
1125 * 2436 | iPhone X Retina屏使用 |
2436 * 1125 | iPhone X Retina屏使用 |
1024 * 768 | iPad 非Retina屏使用 |
2048?*?1536 | iPad Retina屏使用 |
768*1024 | iPad 非Retina屏使用 |
1536?×?2048 | iPad Retina屏使用 |
2224 * 1668 | iPad Pro 10.6 使用 |
2732 * 2048 | iPad Pro 12.9 使用 |
參考:
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/#app-icon-sizes
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/launch-screen/
關(guān)于icon怎么配置和出現(xiàn)問題可以參考這個文檔比價全面:https://developer.apple.com/library/content/qa/qa1686/_index.html http://help.apple.com/xcode/mac/current/#/dev10510b1f7