2014-09-23 60 views
0

對於iPhone4-5,我們必須有3默認圖像由設備iPhone6,iPhone 6 plus:新圖像必須遵循什麼命名約定?

Default.png 
[email protected] and 
[email protected] 

加載是有iPhone6和6個加任何命名約定?

+0

到現在爲止我只帶了它與[資產目錄]工作(https://developer.apple.com/library/ios/recipes/xcode_help -image_catalog-1.0/Recipe.html)。 – rckoenes 2014-09-23 09:04:45

+1

請參閱http://stackoverflow.com/questions/25754942/how-to-enable-native-resolution-for-apps-on-iphone-6-and-6-plus - William Jockusch的答案顯示瞭如何添加圖像,而不使用Launch Images資產目錄。 – rmaddy 2014-09-23 15:33:54

回答

5

您應該使用資產目錄來提供默認圖像和應用程序圖標,而不是依賴於文件名。

有一個廣泛的導遊蘋果這一點:https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/StoringAppIconsandLaunchImagesinanAssetCatalog/StoringAppIconsandLaunchImagesinanAssetCatalog.html

+0

未找到頁面:( – 2014-10-28 10:56:20

+0

此頁面包含有關資產目錄的所有信息:https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/Recipe.html#//apple_ref/doc/uid/TP40013303 -CH 1-SW1 – 2014-10-28 14:09:58