以下代码需要写在上一级页面push到下一级页面的方法中。
ImageViewController *imageViewController = [[ImageViewController alloc] init]; //声明一个实例
imageViewController.title = @"xxxxxxxxxxxxx";
imageViewController.hidesBottomBarWhenPushed = YES; //一定要放在push之前
[self.navigationController pushViewController:imageViewController animated:YES];
[imageViewController release];