Answers for "ios modify the swipe from left to go back"

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 "Swift"

Browse Popular Code Answers by Language