共用方式為


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

要檢查的觸控。

傳回

屬性

適用於