Xcode 4 Interface Builder - 防止定位时更改层次结构 [英] Xcode 4 Interface Builder - prevent hierarchy changes on positioning

查看:108
本文介绍了Xcode 4 Interface Builder - 防止定位时更改层次结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个UIImageView,当我定位它时,它一直想成为viewController上其他视图的子视图。如何阻止它执行此操作,因为我只想重新定位它并使其保持在当前层次结构中。截至目前,我必须手动输入坐标,这很痛苦。

I have a UIImageView and as I am positioning it, it keeps wanted to become a subview of other views on the viewController. How do I stop it from doing this as I only want to reposition it and have it stay in the current hierarchy. As of now, I have to enter the coordinates manually which is a pain.

推荐答案

要完成@Lucase的答案,你可以加倍点击左侧图标侧栏中的元素,使其可以通过箭头键移动,详见另一篇文章

To complete @Lucase's answer, you can double click the element in the 'left icon side bar' to make it movable by arrow key, elaborated in another post.

这篇关于Xcode 4 Interface Builder - 防止定位时更改层次结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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