Поделиться через


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

Нажатие для проверки.

Возвращаемое значение

Атрибуты

Применяется к