iPhone SDK 4 "Half curl page transition"
Asked Answered
S

5

19

In Steve Jobs' keynote announcement of the iPhone SDK 4 earlier this year, one of the slides showed that a "Half curl page transition" was part of the new SDK.

I've looked through the iOS API docs and I can't seem to find this transition. Does anyone know where it is?

Synaeresis answered 28/6, 2010 at 15:15 Comment(0)
S
19

It's not a transition, but a modalTransitionStyle. You can check the docs here: https://developer.apple.com/documentation/uikit/uiviewcontroller/1621388-modaltransitionstyle

If you create a new UIViewController, set its modalTransitionStyle to UIModalTransitionStylePartialCurl, and then presentModalViewController:animated: it, you'll get the desired "half curl page" effect.

Speer answered 28/6, 2010 at 16:39 Comment(0)
M
6

Are you talking about iBook style page turning animations? There's a blog piece about it here, with links to 2 GitHub projects with it:

http://oleb.net/blog/2010/06/app-store-safe-page-curl-animations/

Melquist answered 28/6, 2010 at 18:10 Comment(1)
I wasn't exactly looking for a page turn animation, but that blog post is an excellent read anyways, thank youSynaeresis
P
0

Have you try Manga Rock Unity? They have a page turning really like iBook, moving by fingers. Not private API I guess, or else they cannot be on.

Can ask how they do that ;)

Pucka answered 6/1, 2011 at 17:29 Comment(0)
G
0

you can checkout XBPageCurl project on github it also provide example how to do that

Gemsbok answered 1/8, 2012 at 15:38 Comment(0)
B
-1
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.containerView cache:YES];
Badminton answered 18/4, 2011 at 12:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.