共用方式為


UIGestureRecognizer.RequireGestureRecognizerToFail 方法

定義

只有當指定的 UIGestureRecognizer 失敗 (例如,單一點選手勢可能需要按兩下手勢失敗) 時,才會讓此 UIGestureRecognizer 運作。

[Foundation.Export("requireGestureRecognizerToFail:")]
public virtual void RequireGestureRecognizerToFail (UIKit.UIGestureRecognizer otherGestureRecognizer);
abstract member RequireGestureRecognizerToFail : UIKit.UIGestureRecognizer -> unit
override this.RequireGestureRecognizerToFail : UIKit.UIGestureRecognizer -> unit

參數

otherGestureRecognizer
UIGestureRecognizer
屬性

適用於