同步改变和移动UIView

时间:2013-10-02 15:18:57

标签: ios objective-c

如果我在同一时间做

CGRect centView = rootview.frame;
centView.origin.x = rootview.frame.origin.x;
centView.origin.y =   your_float;
centView.size.height = screenHeight - (your_float * 2);
rootview.frame = centView;

CGRect frame = myview.frame;
frame.origin.x = myview.frame.origin.x;
frame.origin.y =   20 - shift - 3;
myview.frame = frame;

我的观点是在rootview中然后我的观点没有移动和急动。他们如何一起工作?

0 个答案:

没有答案