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

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

问题描述

我已经使用 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 设置添加正确数量的delta 高度,以便您的视图在 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

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

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