Contents

gestureForFailureRelationships

The gesture that the drag interaction adds to the view hierarchy.

Declaration

var gestureForFailureRelationships: UIGestureRecognizer { get }

Discussion

If your app provides other gestures in the same view hierarchy, you may want to set up failure requirements between your app’s gestures and the drag interaction’s gesture. To do this, use the require(toFail:) method to relate your gestures to this gesture. For example: