为iOS7设计的故事板不会在4英寸设备上的iOS 6上全屏显示 [英] Storyboard designed for iOS7 not going fullscreen on iOS 6 on 4 inch device

查看:96
本文介绍了为iOS7设计的故事板不会在4英寸设备上的iOS 6上全屏显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 storyboard 自动布局设计我的iPhone应用程序。在4英寸和3.5英寸设备上, iOS 7 一切正常。

I am designing my iPhone app using storyboard and auto-layout. Everything works fine in iOS 7 on both 4 inches and 3,5 inches device.

iOS 6.1 上app运行总是在3,5英寸设备上运行,即使在4英寸设备上运行,顶部和底部的黑条也会出现。

On iOS 6.1 the app runs like is always on 3,5 inches device, even if is running on a 4 inches device, the black bars on top and bottom appears.

模拟器上的截图:

任何有同样问题的人?我怎么能解决这个问题?

Anyone with the same issue? how can i solve this problem?

推荐答案

我想你是忘记添加启动画面 Default-568h @ 2x。 png 进入项目请检查属性并设置所需的启动画面 Default-568h@2x.png(640×1136像素)

I think are you Forget to adding splash screen Default-568h@2x.png in to you Project please check Property and set required splash-screen Default-568h@2x.png (640 × 1136 pixels)

如果您将此图像添加到工作项目中,从设备或Simulatore中删除旧版本,清除项目并重新构建并检查希望您的问题将解决。

Ones you add this image in to you working Project, Remove old Build from device or Simulatore, clear Project and re build and check Hope you issue will solve.

这篇关于为iOS7设计的故事板不会在4英寸设备上的iOS 6上全屏显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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