PdfView.ShouldReceiveTouch(UIGestureRecognizer, UITouch) 方法

定义

调用的方法,以确定指定的识别器是否应接收指定的触摸。

[Foundation.Export("gestureRecognizer:shouldReceiveTouch:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldReceiveTouch (UIKit.UIGestureRecognizer recognizer, UIKit.UITouch touch);
abstract member ShouldReceiveTouch : UIKit.UIGestureRecognizer * UIKit.UITouch -> bool
override this.ShouldReceiveTouch : UIKit.UIGestureRecognizer * UIKit.UITouch -> bool

参数

recognizer
UIGestureRecognizer

要查询的识别器。

touch
UITouch

要检查的触摸。

返回

属性

适用于