`
简单的茶
  • 浏览: 85846 次
  • 性别: Icon_minigender_2
  • 来自: 昆明
社区版块
存档分类
最新评论

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

    博客分类:
  • iOS
阅读更多
原因: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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics