views:

2389

answers:

4

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?

A: 

I don't believe there's an available function for that. This seems to be near what you're looking for though: http://www.iphonedevsdk.com/forum/iphone-sdk-development/32624-creating-uibutton-page-turn-animation.html

Sheeo
A: 

The page turn transition is included in the SDK, but it is a private API.

Jasarien
+8  A: 

Hi, Charles

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....

yakub_moriss
This code will not give page turn animation.
Satyam svv
The UIViewAnimationTransitionCurlUp option was introduced in iOS4.0 whereas the iPad, for some indefinable reason, is running in iOS3.2 still. None of the fancy view transition effects work.
Ash