tabbar隐藏方法(无白条)

2016-01-06  本文已影响1234人  静花寒
SmallClassViewController *smclassVC = [[SmallClassViewController alloc] initWithStyle:(UITableViewStylePlain)];
    smclassVC.title = classification.name;
    smclassVC.classString = urlArray[indexPath.item];
    smclassVC.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:smclassVC animated:YES];

重要的是smclassVC.hidesBottomBarWhenPushed = YES这一句,十分有效;

上一篇 下一篇

猜你喜欢

热点阅读