开发者

Is the iPad "page turn" transition included in the SDK?

Is there a "page turn" transition included in the iPad SDK that I can use? Or is t开发者_StackOverflowhat all coded by hand with core graphics?


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


Maybe a little bit late, but I'm currently using an Framework called "leaves" which have different forks which even support zooming or two page view. I've even figured out to make my app slightly faster and run with less memory. Check it out at GitHub: https://github.com/brow/leaves


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


UPDATE: Is now (since iOS 5.0) included, look at: UIPageViewController.


Besides Leaves, there's two other libraries out there for this, that are even more realistic:

  • PageCurl: Really nice effect, easy to use.
  • Implementing iBooks page curling using a conical deformation algorithm: Amazing, but it's just a proof of concept, difficult to expand.


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


I think you can refer these links which might help you :

http://www.facebook.com/note.php?note_id=289017982158

http://www.iphonedevsdk.com/forum/iphone-sdk-development/32624-creating-uibutton-page-turn-animation.html


Please visit the below link ,

http://blog.steventroughtonsmith.com/2010/02/apples-ibooks-dynamic-page-curl.html

it is Apple iBook Dynamic page curl application , it will be solution for, what would you

expect exactly .


Since iOS 5.0 the support is included in the public SDK API.

The easiest way to try it is to start a new project with the latest Xcode version (4.3.2 when writing) and choosing Page based Application.

The class involved is the UIPageViewController.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜