在viewController中写入
UITabBarController *tab =(UITabBarController *) self.parentViewController;
tab.tabBar.hidden = YES; 即可隐藏
在viewController中写入
UITabBarController *tab =(UITabBarController *) self.parentViewController;
tab.tabBar.hidden = YES; 即可隐藏