0

我想做这样的 UIView 动画

CGRect frame = view.frame;
frame.origin.y += 30.0;
[UIView animateWithDuration:0.7 animations:^{
    view.frame = frame;
} completion^(BOOL finished){
     viewMovedDown = YES;
}];

我应该在完成块中设置 BOOL (viewMovedDown) 还是应该在开始动画之前设置它?

4

0 回答 0