Post

Replies

Boosts

Views

Activity

Reply to Custom back button with SwiftUI
Try to add this extension. I use it with the Navigation Bar hidden and it works just magically :) language extension UINavigationController: UIGestureRecognizerDelegate {     override open func viewDidLoad() {         super.viewDidLoad()         interactivePopGestureRecognizer?.delegate = self     }     public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) - Bool {         return viewControllers.count 1     } }
Apr ’21