I have a UITableView and it has a nav bar(got from UINavigationViewController), it's able to go back by sliding back using a finger.
I tried to hide the nav bar but keep the slide-back ability, code:
- (void)viewWillAppear:(BOOL)animated {
[[self navigationController] setNavigationBarHidden:YES animated:YES];
}
This successfully hid the nav bar, however, I can no longer slide back to the last screen either.
Is there any way to hide the nav bar but keep the slide-back ability?