After pushViewController, how to disable the backBarButtonItem, that going back will not be possible?
tnx :)
After pushViewController, how to disable the backBarButtonItem, that going back will not be possible?
tnx :)
Another option is to simply not set the navigation controller's back button, when pushing a new view controller. It's not a requirement.
I ran into this issue and used following to hide the nav bar:
[self.navigationController setNavigationBarHidden: YES animated:YES];