2015-04-16 46 views
0

最近,我改變了我的應用程序從iOS8上到iOS7的部署目標,我現在看到這個警告在Xcode:Applications using Launch Screen Files and targetting iOS 7.1 and earlier need to also include a Launch Image in an Asset Catalog.LaunchImage警告在Xcode的iOS 7的部署目標

不知道爲什麼。我在我的Images.xcassets中爲iOS 8設置了LaunchScreen.xib設置我還爲每個iOS 7.0及更高版本的設備以及iOS 8.0和更高版本的設備提供了一個LaunchImage圖像。任何人都可以告訴我爲什麼我可能會看到這個警告嗎?謝謝!

編輯:

enter image description here

enter image description here

+0

的iOS 7不使用啓動畫面文件(該功能是新的到iOS 8)。它需要啓動圖像。 – rmaddy

+0

只需按照以下步驟操作; http://stackoverflow.com/questions/18780476/ios-7-app-icons-launch-images-and-naming-convention-while-keeping-ios-6-icons/22353990#22353990 – msmq

回答

1

在項目的常規設置,你必須選擇一個資產類別,推出圖像爲您的應用。看到下面的圖片。

Asset catalog

+0

我編輯我的問題。我看起來有點不同。我只有「使用資產目錄」按鈕,然後選擇遷移。我只是打那個,然後在第二個菜單中選擇「圖像」? – KexAri

+0

是的,您必須繼續「Images.xcassets」並設置「啓動圖像」圖標後 – Andr3a88