IOS中如何在弹出的视图控制器中不显示底部选项卡

代码记录,进攻学习与参考



       MyViewController *detailViewController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];

       detailViewController.hidesBottomBarWhenPushed=YES;  //关键代码,在弹出新窗口之前隐藏底部的bar

       [self.navigationController pushViewController:detailViewController animated:YES];

       [detailViewController release];

你可能感兴趣的:(IOS中如何在弹出的视图控制器中不显示底部选项卡)