I'm displaying an UIViewController by the following way:
MyViewController *myVc = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
[myVc setModalTransitionStyle:UIModalTransitionStylePartialCurl];
[self presentModalViewController:myVc animated:YES];
If I'm drawing the MyViewController
's view the transition affect only half a page (What I do want).
In my case I'm drawing the entire MyViewController
's view so the transition takes affect at the entire view
If I'm drawing only half a view the transition takes affect on half of the screen but I still have 'dead area' that is being shown and isn't drawn.
My question is how can the transition take affect only for half of the screen (as in the picture) but I still be able to draw the entire view so even if the transition shows only half of the screen, all the shown area will be drawn