I have a modal partial curl but it takes up almost the entire screen, which is not what I want. IF i use storyboards and to it it's the way i want. How to make it not taking up the whole screen, but something like half of it? Thanks.
Asked
Active
Viewed 322 times
2 Answers
0
Apart from writing your own animation OpenGL, there is no public way to do this. The only UIViewAnimation styles available are;
typedef enum {
UIModalTransitionStyleCoverVertical = 0,
UIModalTransitionStyleFlipHorizontal,
UIModalTransitionStyleCrossDissolve,
UIModalTransitionStylePartialCurl,
} UIModalTransitionStyle;

Community
- 1
- 1

Jonathan King
- 1,528
- 14
- 25
-
1If you want to curl up the view, OpenGL isn't overkill, it's what you need to use if the only alternative is Core Animation since Core Animation only supports planes. Maybe SceneKit would be easier though. – Jesper Aug 09 '12 at 14:56
-
If i use storyboards it's only half. – DevFly Aug 09 '12 at 15:03
-
@Jesper your correct about OpenGL, edited my post. SceneKit looks really interesting, thanks for bringing it up! – Jonathan King Aug 09 '12 at 15:08
-
@Jesper Mmmm didn't know about the existence of SceneKit, is it available for iPhone yet though? – Oscar Gomez Aug 09 '12 at 15:32
-
http://developer.apple.com/library/ios/#recipes/xcode_help-scene_kit_editor/Articles/Inspecting3DScene.html%23//apple_ref/doc/uid/TP40012291-CH4-SW1 – Jonathan King Aug 09 '12 at 15:36
0
From what I've played with, Page Curl only curls enough to show the content on the next page. You can vary the curl by limiting content to the lower half of the new page.

user1541723
- 36
- 5