iOS7 XIB问题。在顶部和底部的空白空间 [英] iOS7 XIB issue. blank space at top and bottom

查看:918
本文介绍了iOS7 XIB问题。在顶部和底部的空白空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有哪些我设置一个ImageView的一个观点。自动布局被选中。它看起来在preVIEW不错,但是当应用程序在模拟器上实际运行,有空格在顶部显示以及底部只能在iPhone 4的Retina英寸模拟器。 3.5英寸,它看起来罚款。使用iOS7和X code 5。

I am having a view on which I am setting an ImageView. Auto layout is checked. It looks good in the preview, but when app actually runs on the simulator, there is blank space is showing at the top as well as bottom only in the iPHone retina 4 inch simulator. on 3.5 inch it looks fine. Using iOS7 and XCODE 5.

虽然我从视图中删除图像,仍然有同样的问题。

Even though i removed image from view, still there is the same 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) and clean project and run again

这篇关于iOS7 XIB问题。在顶部和底部的空白空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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