UILongPressGestureRecognizer.NumberOfTouchesRequired 属性

定义

必须触摸视图才能识别手势的手指数。 默认值为 1。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nuint NumberOfTouchesRequired { [Foundation.Export("numberOfTouchesRequired")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setNumberOfTouchesRequired:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.NumberOfTouchesRequired : nuint with get, set

属性值

System.System.UIntPtr System.unativeint
属性

适用于