CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.0];
// Apply the animation to the backdrop
[UIView setAnimationTransition:
UIViewAnimationTransitionCurlUp
forView:myView cache:YES];
// Exchange the two foreground views
[myView exchangeSubviewAtIndex:0
withSubviewAtIndex:1];
[UIView commitAnimations];
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
浅灰星