【发布时间】:2013-06-04 15:03:14
【问题描述】:
我在主视图中添加了 4 个 UIView 类型的子视图。我想用平滑的翻转动画翻转这些视图。我已经尝试过但无法成功完成它。这是我使用的代码。
[UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.5]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:signUpView cache:YES]; [UIView commitAnimations];
它翻转一半并立即显示另一个视图。 告诉我怎么做?
【问题讨论】:
标签: ios uiviewanimation flip