开发者

UIViewAnimationTransitionCurlDown on UIImageView?

I was messing with UIView animations and I found the setAnimationTransit开发者_如何转开发ion method which takes certain constants.

One of them is UIViewAnimationTransitionCurlDown.

I was wondering if this type of transition was possible on a UIImage view and how would I go about implementing it?

Thanks Tom


[UIImageView beginAnimations:nil context:NULL];
[UIImageView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:YourView cache:YES];
[UIImageView setAnimationDuration:1.5];
/// ----> [YourView CodeTo Be Done];
[UIImageView commitAnimations];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜