ITeye博客

Xcode 6 新建工程运行在 iOS 7 上下有黑边的问题

简单的茶 · 2014-11-02 10:01 · iOS · 移动开发 · Markdown

原因: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

 Apple 官网的说明地址:https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html#//apple_ref/doc/uid/TP40012582-CH28-SW3

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。