Hello!
If you use UINavigationController you have back swipe gesture to back to previous controller. But when Hero is enabled I don't have this behaviour. How can I enable default iOS back swipe gesture if Hero is enabled?
Thank you!
+1
Any news on this topic?
UIKit disables the default back gesture if you use any custom transitions. You can unset the navigationControllerDelegate to get back the back gesture. or implement your own back gesture through interactive transition.
Thanks ikzhao :-)
Inside viewDidLoad() of the destination-ViewController following line does the trick:
navigationController?.interactivePopGestureRecognizer?.delegate = nil
Most helpful comment
Thanks ikzhao :-)
Inside viewDidLoad() of the destination-ViewController following line does the trick:
navigationController?.interactivePopGestureRecognizer?.delegate = nil