views:

100

answers:

1

Hi there

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

+1  A: 
[UIImageView beginAnimations:nil context:NULL];
[UIImageView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:YourView cache:YES];
[UIImageView setAnimationDuration:1.5];
/// ----> [YourView CodeTo Be Done];
[UIImageView commitAnimations];
Ashish Mathur
aha... ok - got it working - but the image just appears... how do I make it curl down? is it possible?
Thomas Clayson
Although it doesn't hurt to call those class methods on `UIImageView`, it's more clear to call them on `UIView`
rpetrich