If the destination screen transitioned by NavigationController uses XLPagerStrip, it will be pulled by the placed containerView (UIScrollView). Swipe back (ʻInteractive Pop Gesture`) doesn't work.
Add the following code to viewWillAppear.
Do you want containerView Gesture to be executed when NavigationController Gesture fails? Feeling like that.
if let naviVc = self.navigationController {
self.containerView.panGestureRecognizer.require(toFail: naviVc.interactivePopGestureRecognizer!)
}
Recommended Posts