Answers for "navigation controller swipe back not working"

1

swipe left to go back iphone swift

self.navigationController.interactivePopGestureRecognizer.delegate = self;
//and then implement
extension MyViewController:UIGestureRecognizerDelegate {
    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
        return true
    }
}
Posted by: Guest on March-30-2020

Code answers related to "navigation controller swipe back not working"

Code answers related to "Swift"

Browse Popular Code Answers by Language