在模态视图上呈现 present另一个视图

WebViewController *web = [[WebViewController alloc] initWithNibName:nil bundle:nil];

web.titleStr = @"导航栏标题";

web.requestUrl = [NSString  string];

web.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;


UINavigationController * jackNavigationController = [[UINavigationController alloc] initWithRootViewController:web];

jackNavigationController.navigationBar.barTintColor = [UIColor groupTableViewBackgroundColor];

[[UIApplication sharedApplication]  setStatusBarStyle : UIStatusBarStyleDefault];

[self presentViewController:jackNavigationController animated:YES completion:^{

}];

你可能感兴趣的:(在模态视图上呈现 present另一个视图)