在pushViewController之前调用
[self setHidesBottomBarWhenPushed:YES];
同时在viewWillDisappear调用:
- (void)viewWillDisappear:(BOOL)animated {
[self setHidesBottomBarWhenPushed:NO];
[super viewDidDisappear:animated];
}