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
属性

适用于