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.


Solution 1:

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

Solution 2:

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

Solution 3:

It's an old and closed question but if someone is looking for a working implementation look at this:

Newer: iOS-PageCurl-OpenGL

Older: XBPageCurl project