UIViewAnimationTransitionCurlDown上的UIImageView? [英] UIViewAnimationTransitionCurlDown on UIImageView?

查看:154
本文介绍了UIViewAnimationTransitionCurlDown上的UIImageView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是用动画的UIView搞乱,我发现setAnimationTransition方法,需要一定的常数。

其中之一是UIViewAnimationTransitionCurlDown。

我在想,如果这种转换是可能在一个UIImage视图,我怎么会去实现它?

谢谢
汤姆


解决方案

  [的UIImageView beginAnimations:无背景:NULL];
[UIImageView的setAnimationTransition:UIViewAnimationTransitionCurlDown forView:YourView缓存:YES];
[UIImageView的setAnimationDuration:1.5];
/// ----> [YourView codeTO不能做到]。
[UIImageView的commitAnimations];

I was messing with UIView animations and I found the setAnimationTransition 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];

这篇关于UIViewAnimationTransitionCurlDown上的UIImageView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆