UIGestureRecognizer.ShouldBeRequiredToFailByGestureRecognizer 方法

定义

专门重写以指示接收方要求指定的手势识别器失败。

[Foundation.Export("shouldBeRequiredToFailByGestureRecognizer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldBeRequiredToFailByGestureRecognizer (UIKit.UIGestureRecognizer otherGestureRecognizer);
abstract member ShouldBeRequiredToFailByGestureRecognizer : UIKit.UIGestureRecognizer -> bool
override this.ShouldBeRequiredToFailByGestureRecognizer : UIKit.UIGestureRecognizer -> bool

参数

otherGestureRecognizer
UIGestureRecognizer

UIGestureRecognizer 的子类实例。

返回

如果设置为 true,则设置失败要求。 否则设置为 false

属性

适用于