共用方式為


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

屬性

適用於