Must I do anything special in order to show a modal view controller?

Posted by dontWatchMyProfile on Stack Overflow See other posts from Stack Overflow or by dontWatchMyProfile
Published on 2010-06-15T16:56:41Z Indexed on 2010/06/15 17:02 UTC
Read the original article Hit count: 276

Filed under:

I have a UIViewController as root vc, attached to the window. Then I simply created another VC and want it to appear modally. When I add this directly to the rootViewController, it is visible. But when I call

- (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated

nothing happens.

© Stack Overflow or respective owner

Related posts about iphone