UIGestureRecognizer.CanPreventGestureRecognizer(UIGestureRecognizer) Method

Definition

When overridden, indicates that this UIGestureRecognizer can prevent the specified UIGestureRecognizer from recognizing a gesture.

[Foundation.Export("canPreventGestureRecognizer:")]
public virtual bool CanPreventGestureRecognizer (UIKit.UIGestureRecognizer preventedGestureRecognizer);
abstract member CanPreventGestureRecognizer : UIKit.UIGestureRecognizer -> bool
override this.CanPreventGestureRecognizer : UIKit.UIGestureRecognizer -> bool

Parameters

preventedGestureRecognizer
UIGestureRecognizer

Returns

If set to true, the receiver can block preventedGestureRecognizer from recognizing its gesture. Otherwise set to false.

Attributes

Applies to