原因:Xcode 6 默认新建的启动页面为 LaunchScreen.xib,系统通过检测是否有这个文件,来判断 app 是否支持iphone
6 & 6 plus.
如果要支持 iOS 7,还必须添加 Launch
Image assets.
如果 app 要支持 iOS 7但是没有设置 Launch
image assets ,在 iOS 7 上运行上下两边就会出现黑边。
解决办法:
Target -> General Tab -> App Icons and Launch Images -> add launch image
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html#//apple_ref/doc/uid/TP40012582-CH28-SW3