Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a page curl animation?

Any way to emulate something like this? Isn't there an API for doing something like a "Half page curl" or something?

alt text

like image 579
sudo rm -rf Avatar asked Dec 09 '10 18:12

sudo rm -rf


People also ask

How do I make the page curl in PowerPoint?

Click on the small black corner and then two new blue lines will appear. You can drag the small white squares at the end of these slides to make a curved line. This will add a realistic effect and will allow us to make the page curl effect.

How do you use grow and turn animation in PowerPoint?

Select all the bullet points and click the Animations tab. Click the Add Animation dropdown in the Advanced Animation group and choose Grow/Shrink from the Emphasis section. If it isn't there, click More Emphasis Effects at the bottom. PowerPoint will give you a quick preview of how the animation will look.


1 Answers

controller.modalTransitionStyle = UIModalTransitionStylePartialCurl;
[self presentModalViewController:controller animated:YES];

UIModalTransitionStyle Transition styles available when presenting view controllers modally. The below are the four different transition styles. The "UIModalTransitionStylePartialCurl" is the one you're after.

typedef enum {
    UIModalTransitionStyleCoverVertical,
    UIModalTransitionStyleFlipHorizontal,
    UIModalTransitionStyleCrossDissolve,
    UIModalTransitionStylePartialCurl,
} UIModalTransitionStyle;

Apple documentations: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html

Hope this helps!

like image 61
Linuxmint Avatar answered Oct 06 '22 00:10

Linuxmint