首页 > 代码库 > iOS xcode6.0使用7.1运行程序 iphone5上下有黑条

iOS xcode6.0使用7.1运行程序 iphone5上下有黑条

转自:http://stackoverflow.com/questions/25817562/black-bars-appear-in-app-when-targeting-ios7-1-or-7-0-in-xcode6

 

I was able to resolve the issue manually, seems like it is a bug with Xcode for now and I will file a radar report.

To resolve the issue, follow the below steps:

  1. Navigate to project settings  (Targets-General)
  2. Under "App Icons and Launch Images" click on "Use Asset Catalog"
  3. Select "Migrate" on the popup that appears.

iOS xcode6.0使用7.1运行程序 iphone5上下有黑条