Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the iPad "page turn" transition included in the SDK?

Is there a "page turn" transition included in the iPad SDK that I can use? Or is that all coded by hand with core graphics?

like image 722
user2393462435 Avatar asked Apr 13 '10 16:04

user2393462435


2 Answers

the code for curl Animation is given below :

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

Enjoy....

like image 173
MohammedYakub Moriswala Avatar answered Nov 15 '22 20:11

MohammedYakub Moriswala


Maybe a little bit late, but I'm currently using an Framework called "leaves" which have different forks which even support zooming or two page view. I've even figured out to make my app slightly faster and run with less memory. Check it out at GitHub: https://github.com/brow/leaves

like image 22
woodleader Avatar answered Nov 15 '22 20:11

woodleader