How can I change the animation style of a modal UIViewController?

Posted by MrDatabase on Stack Overflow See other posts from Stack Overflow or by MrDatabase
Published on 2008-10-26T01:09:31Z Indexed on 2010/05/19 7:20 UTC
Read the original article Hit count: 348

Filed under:
|

I'm currently displaying a UIViewController like this:

[[self navigationController] presentModalViewController:modalViewController animated:YES];

and hiding it like this:

[self.navigationController dismissModalViewControllerAnimated:YES];

The animation is "slide up from the bottom"... then slide back down. How can I change the animation style? Can I made it fade in/out?

Cheers!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch