次の方法で共有


UITableViewCell.ShouldReceivePress(UIGestureRecognizer, UIPress) メソッド

定義

開発者はこのメソッドをオーバーライドして を返 falseし、セルが を処理しないことを示します。

[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

戻り値

既定値は true です。

属性

適用対象