     public func gestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer) -> Bool {
         interactive = true
         return true
+    }
+
+    public func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailByGestureRecognizer otherGestureRecognizer: UIGestureRecognizer) -> Bool {
+        return screenEdgePanGestureRecognizer === gestureRecognizer
     }
 }
 

        }

        let duration = transitionDuration * (1.0 - interactiveProgress)

        UIView.animateWithDuration(
            duration,
            animations: {

        if let screenEdgePanGestureRecognizer = navigationController.interactivePopGestureRecognizer as? UIScreenEdgePanGestureRecognizer {
            screenEdgePanGestureRecognizer.delegate = self
            screenEdgePanGestureRecognizer.addTarget(self, action: #selector(ZoomTransitioning.handlePanGestureRecognizer(_:)))
            self.screenEdgePanGestureRecognizer = screenEdgePanGestureRecognizer
        }

        return self
