Share via


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입니다.

특성

적용 대상