Present Modal View Controller On Top of UINavigationController
ios, iphone, modalviewcontroller, uikit, uinavigationcontroller
Solution
[self.navigationController presentModalViewController:ukc animated:NO];
Problem
I have my app that is below a UINavigationController and therefore below a UINavigationBar. I want to present a Modal View Controller on top of this UINavigationBar because the controller I wrote doesn't make sense if it's below it (that is, I want to hide the navigation bar when showing this view controller). Presenting it with this code: ``` ukc = [[UnlockKeyboardViewController alloc] init]; [self presentModalViewController:ukc animated:NO]; ``` Cause the Modal view controller to be below the UINavigationBar. That UINavigationBar shouldn't show up when I show this modal view. How can I go around that? PS: This is a jailbreak app, so there's no Interface Builder.