shouldRequireFailure(of:)
Overridden to indicate that the receiver requires the specified gesture recognizer to fail.
Declaration
func shouldRequireFailure(of otherGestureRecognizer: UIGestureRecognizer) -> BoolParameters
- otherGestureRecognizer:
An instance of a subclass of
UIGestureRecognizer.
Return Value
Discussion
Overriding this method allows a subclass to define a class-wide failure requirement.
See Also
Implementing subclasses
touchesBegan(_:with:)touchesMoved(_:with:)touchesEnded(_:with:)touchesCancelled(_:with:)touchesEstimatedPropertiesUpdated(_:)reset()ignore(_:for:)canBePrevented(by:)canPrevent(_:)shouldReceive(_:)shouldBeRequiredToFail(by:)ignore(_:for:)pressesBegan(_:with:)pressesChanged(_:with:)pressesEnded(_:with:)