Xcode 6编译的应用程序在iPhone 5s上运行(屏幕空白) [英] App compiled with Xcode 6 runs on iPhone 5s top/bottom of screen blank

查看:43
本文介绍了Xcode 6编译的应用程序在iPhone 5s上运行(屏幕空白)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我们切换到Xcode 6,但我遇到了这个问题:当我在iPhone 5s上运行时,用Xcode 6编译的最简单的选项卡式应用程序仅占据屏幕的一部分.屏幕的顶部和底部有两个黑条.如下所示:

Recently we switched to Xcode 6, and I am having this issue: my simplest tabbed app compiled with Xcode 6 occupies just part of the screen, when it runs on iPhone 5s. There are two black strips sitting at the top and bottom of the screen. Like below:

默认情况下,它看起来是这样的(也就是说,我使用Xcode的模板创建了该项目,并对其进行了编译和运行,而没有进行任何修改).我也修改了各种项目设置位,但徒劳无功.试图在Swift和OC中创建项目,但都存在相同的问题.在Xcode 5中从来没有这个问题.

By default, it looks that way (that is, I created the project using Xcode's template, and compiled and ran it without any modifications). I have also tinkered with various project setting bits, but in vain. Tried creating the project in both Swift and OC, both had the same issue. Never had this problem in Xcode 5.

任何人都可以知道这里发生了什么吗?

Can anyone tell what's going on here?

谢谢.

推荐答案

在应用中设置启动图像.现在,它对于ios 9是强制性的.请参考 https://stackoverflow.com/a/18913189/3051458

Set up launch images in your app. It is mandatory now for ios 9. Refer this https://stackoverflow.com/a/18913189/3051458

这篇关于Xcode 6编译的应用程序在iPhone 5s上运行(屏幕空白)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆