Hello. Thanks for making this handy library. I've noticed that on modern iOS versions the swipe back functionality is broken despite the fact that an old fix is in place. Luckily, I found a solution by implementing the following extension.
extension UINavigationController {
override open func viewDidLoad() {
super.viewDidLoad()
interactivePopGestureRecognizer?.delegate = nil
}
}
That's it! View+hideNavigationBarWithoutLosingSwipeBack.swift and View+hideNavigationBarWithoutLosingSwipeBack.swift are no longer required using this method.
If you wish I could open a pull request. Regardless I hope this may be useful to someone in the future.
Hello. Thanks for making this handy library. I've noticed that on modern iOS versions the swipe back functionality is broken despite the fact that an old fix is in place. Luckily, I found a solution by implementing the following extension.
That's it!
View+hideNavigationBarWithoutLosingSwipeBack.swiftandView+hideNavigationBarWithoutLosingSwipeBack.swiftare no longer required using this method.If you wish I could open a pull request. Regardless I hope this may be useful to someone in the future.