Fix accessibility swipe back gesture

This commit is contained in:
Ilya Laktyushin 2021-01-06 12:35:31 +03:00
parent adae15d010
commit 96abae091a

View File

@ -99,9 +99,12 @@ private final class NavigationControllerNode: ASDisplayNode {
}
override func accessibilityPerformEscape() -> Bool {
if let controller = self.controller, controller.viewControllers.count > 1 {
let _ = self.controller?.popViewController(animated: true)
return true
}
return false
}
}
public protocol NavigationControllerDropContentItem: class {