I've been trying to solve this issue for quite some time and cant figure it out. I have the current set up:
In each view controller I hide the navigation bar like so:
self.navigationController?.setNavigationBarHidden(true, animated: true)
The issue is I loose the swipe gesture on the view controllers that the navigation bar is hidden. I need to have the animation enabled and cannot use:
self.navigationController?.navigationBar.isHidden = true
self.navigationController?.isNavigationBarHidden = true
Any help would be awesome as I'm sure many people has ran into this issue. Thanks!
You can handle swipe gesture by doing the following, and its will help you to avoid freezing the app.
Here is the answer: Just subclass your NavigationController and do the following.