Contents

shouldBeRequiredToFail(by:)

Overridden to indicate that the receiver should be required to fail by the specified gesture recognizer.

Declaration

func shouldBeRequiredToFail(by otherGestureRecognizer: UIGestureRecognizer) -> Bool

Parameters

  • otherGestureRecognizer:

    An instance of a subclass of UIGestureRecognizer.

Return Value

true to set up the failure requirement; otherwise, false.

Discussion

Overriding this method allows a subclass to define a class-wide failure requirement.

See Also

Implementing subclasses