how to handle swipe left back on ios swift code example
Example: 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
}
}