问题
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:
[UIImageView beginAnimations:nil context:NULL];
[UIImageView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:YourView cache:YES];
[UIImageView setAnimationDuration:1.5];
/// ----> [YourView CodeTo Be Done];
[UIImageView commitAnimations];
来源:https://stackoverflow.com/questions/3684030/uiviewanimationtransitioncurldown-on-uiimageview