开发者

i can't apply curl animation on image

开发者 https://www.devze.com 2023-02-14 16:43 出处:网络
How to apply curl animation on Image.( i want animation like Books page turn from left to 开发者_StackOverflow社区right or vice versa. so anyone know about it please help me for this.[UIView beginAnim

How to apply curl animation on Image.( i want animation like Books page turn from left to 开发者_StackOverflow社区right or vice versa. so anyone know about it please help me for this.


[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[oldView removeFromSuperview];
[UIView commitAnimations];

This thread may be a valuable resource:

http://www.iphonedevsdk.com/forum/iphone-sdk-development/18548-pagecurl-animation-os-3-0-a.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号