标签:
在多控制器下,要想多个页面隐藏导航栏(push出来的View),可以重写自己的NavigationController : UINavigationController,重写- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
{
viewController.hidesBottomBarWhenPushed = YES;
[super pushViewController:viewController animated:animated];
}重写这个方法,可以拦截所有的push操作
标签:
原文地址:http://www.cnblogs.com/ritian/p/5439946.html