Compartilhar via


UITableViewCell.ShouldReceivePress(UIGestureRecognizer, UIPress) Método

Definição

Os desenvolvedores podem substituir esse método para retornar false, indicando que a célula não processará o .

[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

Parâmetros

gestureRecognizer
UIGestureRecognizer
press
UIPress

Retornos

O valor padrão é true.

Atributos

Aplica-se a