targetViewController.hidesBottomBarWhenPushed = YES;
Sample
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UIViewController *targetViewController = [[menuList objectAtIndex: indexPath.row] objectForKey:kViewControllerKey]; targetViewController.hidesBottomBarWhenPushed = YES; [self.navigationController pushViewController:targetViewController animated:YES]; [targetViewController release]; }
See Also
iLessons iLearned: How to Hide UITabBar