简体   繁体   English

iOS 7应用程序不会在Xcode 6模拟器中填满整个屏幕

[英]iOS 7 app doesn't fill the whole screen in Xcode 6 simulator

iOS 7 app doesn't fill the whole screen in Xcode 6 simulator. iOS 7应用程序不会在Xcode 6模拟器中填满整个屏幕。 But when i set the app to target iOS 8, it works fine. 但是,当我将应用程序设置为目标iOS 8时,它工作正常。 Here are two screen captures: 这是两个屏幕截图:

This is for iOS 7 这适用于iOS 7

在此输入图像描述

This is for iOS 8 这适用于iOS 8

在此输入图像描述

Can someone help me? 有人能帮我吗?

You can try these solutions: 您可以尝试以下解决方案:

  1. Try to create launch images(640*960 @2x.png & 640*1136 -568h@2x.png) and set them into project properties for "Launche images source". 尝试创建启动图像(640 * 960 @ 2x.png和640 * 1136 -568h@2x.png)并将它们设置为“启动图像源”的项目属性。

or 要么

  1. Create .xib file with active autolayout and set this file as "launch screen file". 使用活动自动布局创建.xib文件,并将此文件设置为“启动屏幕文件”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM