I look around for similar posts but didn't find a solution. I'm looking for a simple page turn animation (without finger tracking) like this: http://www.youtube.com/watch?v=_vOYvaNhSHw
Is it possible to create or license it?
Many thanks for your help.
This fragment of code do the trick:
[UIView beginAnimations:@"Flip" context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:self.base.view cache:YES];
[user.view removeFromSuperview];
[base.view addSubview:home.view];
[UIView commitAnimations];
In this example the "user" viewcontroller is removed, and the "home" viewcontroller is added, with a pageflip like transition
Yes, that's possible.
Read the following blog tutorial.
http://oleb.net/blog/2010/06/app-store-safe-page-curl-animations/
http://blog.steventroughtonsmith.com/2010/02/apples-ibooks-dynamic-page-curl.html
http://wdnuon.blogspot.com/2010/05/implementing-ibooks-page-curling-using.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With