push后隐藏下面tabBar

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    
    if (self.viewControllers.count > 0) {
         viewController.hidesBottomBarWhenPushed = YES;
    }
    
    [super pushViewController:viewController animated:animated];
}