tags:

views:

1099

answers:

5

I am trying to switch between UIViews by making it look like you are turning a page in a book.

The UIViewAnimationTransitionCurlUp is pretty close if I could get it to curl toward the Left or Right. Is this possible?

I have tried to use the CATRansition but none of the animation types come close to a page turning.

Any suggestions on how to create this page animation transition that would turn a page toward the left or right?

Thank you

+1  A: 

There's nothing in the SDK that will do this for you. If you want this effect, you'll have to roll your own. "Classics" does a nice job with the page-flip animation.

August
A: 

You can manage this effect by changing the orientation of the UIViewController where the animation takes place.

Dimitris
Could you elaborate on this please?
Adolfo
+2  A: 

you can use PaperTouch API for this.But it is not free.If you want a simple animation then you can check this one.

raaz
A: 

Its a bit difficult, but you can fake it using a background animation, and squeezing the view. In the "Classics app" they use something like that, and i think that at the end of the effect they just use an animation similar to the used at the PageOpen (http ://fiftysixtysoftware.com/blog/2009/uiview-pageopen-sample-project/)

Look at http://darknoon.com/blog/2008/12/08/deconstructing-classicsapp/ to see a bit of how Classics app was made.

pd: Sorry for the link, i can only post one..

Raspu
A: 

Look at link text , it provides an online demo and a java-based implementation.

david