tags:

views:

115

answers:

0

I'm using UIModalTransitionStylePartialCurl to show a modal view in iPad.

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

'self' is the right side view controller of my SplitViewController.

When I do this, the page is curled all the way to the top even though the size of the 'view' of modalViewController is small. I only need it to curl a little so it would reveal ONLY the area taken by modalViewController. What I'm trying to do is something exactly like the iPad maps application settings.

I tried using all the 'modalPresentationStyle' options for the modal view and I also tried setting the modalPresentationStyle.view.frame to a small CGRect but still couldn't get it to work.

Can anybody help on this...thanks in advance..