Formatting
This commit is contained in:
parent
3808a04d87
commit
822fa06046
|
@ -12,9 +12,7 @@ class SwipeableNavigationController: UINavigationController {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func setupFullWidthBackGesture() {
|
private func setupFullWidthBackGesture() {
|
||||||
guard
|
guard let targets = interactivePopGestureRecognizer?.value(forKey: "targets") else { return }
|
||||||
let targets = interactivePopGestureRecognizer?.value(forKey: "targets")
|
|
||||||
else { return }
|
|
||||||
|
|
||||||
// have fullWidthBackGestureRecognizer execute the same handler as interactivePopGestureRecognizer
|
// have fullWidthBackGestureRecognizer execute the same handler as interactivePopGestureRecognizer
|
||||||
fullWidthBackGestureRecognizer.setValue(targets, forKey: "targets")
|
fullWidthBackGestureRecognizer.setValue(targets, forKey: "targets")
|
||||||
|
|
Loading…
Reference in New Issue