Occasionally you need to a show a view controller as part of a
UINavigationController stack where you want the navigation bar hidden. Unfortunately, hiding the navigation bar breaks the swipe right to go back feature.
You can fix it by doing this in your
navigationController?.setNavigationBarHidden(true, animated: true) navigationController?.interactivePopGestureRecognizer.delegate = self