简体   繁体   English

ios7 iphone5屏幕的布局问题,但在iphone5和ios8中工作正常

[英]Layout issue with ios7 iphone5 screen but working fine in iphone5 and ios8

Iam new to ios development, Iam是ios开发的新手,

In my application i designed UI through storyboard. 在我的应用程序中,我通过情节提要设计了UI。 Its looking good when i am using iphone5 with ios 8.1 but with iphone5 and ios 7.1 having some spaces top and bottom of screen. 当我在ios 8.1上使用iphone5但在iphone5和ios 7.1的屏幕顶部和底部有一些空间时,它看起来不错。

check this images , what could be the problem? 检查此图像,可能是什么问题?

Please help me in this. 请帮助我。 Thanks in advance. 提前致谢。

iPhone 5 with ios 7.1 装有ios 7.1的iPhone 5 在此处输入图片说明

iphone5 with ios 8.1 iphone5与ios 8.1 在此处输入图片说明

Yahoo.. I was able to resolve it. Yahoo ..我能够解决它。

To resolve the issue, follow the below steps: 要解决此问题,请按照下列步骤操作:

  1. Navigate to project settings 导航到项目设置
  2. Under "App Icons and Launch Images" click on "Use Asset Catalog" 在“应用程序图标和启动图像”下,单击“使用资产目录”
  3. Select "Migrate" on the popup that appears. 在出现的弹出窗口中选择“迁移”。

Its working fine for me. 它对我来说很好。

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

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