When using modalViewController, I found out that the only way to keep a title bar and button on the screen is that I To create a navigation controller, jumps and set the modalView screen as the routeview of the navigation controller (below). Why can not I just use the original view controller as modalView (as in the form of below)? userNameViewController = [[UserNameViewController alloc] init]; [Self current model view controller: user name viewer animator: yes]; Because the navigation bar that you usually see under the navigation, do not see your children controller. You can create your own navigation bar and add it to your controller's view. However, some relayout is required (and possibly because it is easy to restart the navigation controller only). Username Viewer = [[UserName Viewer Alloc] init]; UINavigationController * cntrol = [[UINavigationController alloc] initWithRootViewController: userNameViewController]; [Self. Navigation Controller Current Model View Controller: Animated Cntrol: Yes]; [User name view controller release]; [Central release];
Comments
Post a Comment