PdfView.ShouldReceivePress(UIGestureRecognizer, UIPress) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
呼叫的方法,以找出指定的辨識器是否應該收到指定的按下。
[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
按下即可檢查。
傳回
- 屬性