hide the navigationBar and tabBar [self.navigationController setNavigationBarHidden:YES animated:NO]; hidesBottomBarWhenPushed