我正在使用自定义导航栏呈现视图控制器类,如下所示:
CreateShiftRosterEventViewController *objDetailView = [[CreateShiftRosterEventViewController alloc] initWithNibName:@"CreateShiftRosterEventViewController" bundle:nil];
CustomNavigationViewController *navcont = [[CustomNavigationViewController alloc] initWithRootViewController:objDetailView];
// Set the user default to 1 to support landscape orientation also for next view
[[NSUserDefaults standardUserDefaults] setInteger:0 forKey:@"orientationView"];
[self presentViewController:navcont animated:YES completion:nil];
[objDetailView release];objDetailView = nil;
[navcont release];navcont=nil;
但它隐藏了 CreateShiftRosterEventViewController 类的标签栏。
谁能帮帮我,怎么了?