views:

42

answers:

0

I'm displaying a modal view using the UIModalPresentationFormSheet presentation style on my iPad. Everything is working as expected, but when I click "Save" in the view and load the dismissModalViewControllerAnimated method, the view slides down rather than up (as in Apple's own applications, e.g. when sending an email in Mail.app). At the moment, this is the only code that is executed when tapping the Save button:

[self.parentViewController dismissModalViewControllerAnimated:YES];

How can I change the transition from "slide-down" to "slide-up" when dismissing the view?