shouldBeRequiredToFail(by:)
Overridden to indicate that the receiver should be required to fail by the specified gesture recognizer.
Declaration
func shouldBeRequiredToFail(by 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(_:)shouldRequireFailure(of:)ignore(_:for:)pressesBegan(_:with:)pressesChanged(_:with:)pressesEnded(_:with:)