自动调整不在xib中工作 [英] Autoresize not working in xib

查看:106
本文介绍了自动调整不在xib中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 .xib 中进行了简单的设计,我的应用的部署目标是 iOS 5
我的视图没有调整大小,当我在模拟器或设备中运行我的应用程序时。

I made simple design in .xib, deployment target for my app is iOS 5 My view doesn't resizes, when i run my app in simulator or device.

这里是我的 .xib 文件的快照..

here is snapshot of my .xib file..


当我尝试在模拟器中运行我的应用程序时,它在4英寸的模拟器中正常运行,但是当我在3.5英寸的模拟器中运行我的应用程序时,它不会调整大小。 自动调整子视图属性已被选中。

这是我的 Simulaotrs 的快照,第一次截图用于3.5,第二用于4..

Here is snapshot of my Simulaotrs, first screenshot is for 3.5" and second for 4"..


提前致谢。

Thanks in advance.

推荐答案

如果你想要的话要自动调整并自动排序引用上部视图的图标,尝试使用布局选项卡进行播放

if you want to autoresize and autoorder the icons referencing to the upper view, try to play either with the layout tab

或为每个布局创建自己的.xib;)

or create for each layout own .xib ;)

这篇关于自动调整不在xib中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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