简体   繁体   English

iPhone-UIView在屏幕中移动对象?

[英]iphone - UIView Move objects in the screen?

I have a CustomView (Expand View) in my main view, which is suppose to expand. 我的主视图中有一个CustomView(扩展视图),该视图应该进行扩展。 I have a bunch of other objects at the bottom of my ExpandView. 我的ExpandView底部还有很多其他对象。 I want to move all these objects down as my ExpandView expands. 我想在我的ExpandView展开时将所有这些对象向下移动。

Is it possible to do this in interface builder, and relate these objects to my ScrollView so that they would move automatically as my ExpandView grows? 是否可以在界面构建器中执行此操作,并将这些对象与ScrollView相关联,以便它们随着ExpandView的增长而自动移动?

替代文字

不。您将必须在代码中执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM