共用方式為


PdfView.ShouldReceivePress(UIGestureRecognizer, UIPress) 方法

定義

呼叫的方法,以找出指定的辨識器是否應該收到指定的按下。

[Foundation.Export("gestureRecognizer:shouldReceivePress:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldReceivePress (UIKit.UIGestureRecognizer gestureRecognizer, UIKit.UIPress press);
abstract member ShouldReceivePress : UIKit.UIGestureRecognizer * UIKit.UIPress -> bool
override this.ShouldReceivePress : UIKit.UIGestureRecognizer * UIKit.UIPress -> bool

參數

gestureRecognizer
UIGestureRecognizer

要查詢的辨識器。

press
UIPress

按下即可檢查。

傳回

屬性

適用於