views:

1773

answers:

3

Hey Guys, anyone has an idea how to build the page flip? I've seen it in flash applications and I want the same functionality for our iPad app ... I want to have a flipped corner on the bottom of the pae that you can drag and flip the page :) ...

Cheers,

Ondrej

+2  A: 

When you set the transition use

    [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp
                       forView:self.view.superview cache:YES];

This should do the trick

Nava Carmon
A: 

Hi Guys, I tried to use the trick on an Image view.. basically I would like to implement a little catalogue of products and allow the user to "pinch" (pick) the top and bottom most right borders to change page and get the Curl effect..

I am extending the sample of code provided by apple and called "ViewTransition".. could anyone help me with that?

Many thanks!

Daniel

Daniel
+2  A: 

Hi Ondrej,

You can also use cocos2d framework to do a page flip application (look for CCPageTurn3D for more info).

Both UIViewAnimationTransitionCurlUp/Down and transition used in cocos2d support views with only one visible page (left or right) at a time. If you are interested how to make a page flip effect at all (with left and/or right page visible at a time) take a look at this post: Implementing 2D Page Flip effect on iPhone OS

lechec