UIView在iOS 7中显示问题 [英] UIView display issue in iOS 7

查看:112
本文介绍了UIView在iOS 7中显示问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用xib为ios 6制作了应用程序。所有视图都显示为与xib完全相同。
但在IOS 7中,由于状态栏,视图向上移动到&底部有一个空白区域。

I already make the app for ios 6 using xib. All the views are shown perfectly same as xib. But in IOS 7, due to the status Bar the views are moves to up & there is a blank space towards the bottom.

如何解决此问题?

推荐答案

移动您的视图,使它们在iOS7中正确显示,并使用界面构建器中的 iOS6 / 7 Deltas 设置添加正确的视图增量高度,以便您的视图在iOS6中正确显示。

Move your views so they appear correctly for iOS7 and use the iOS6/7 Deltas setting in interface builder to add the correct amount of delta height so your view appears correctly in iOS6.

另请参阅: https:// stackoverflow.com/a/19025547/1545180

这篇关于UIView在iOS 7中显示问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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