Share via


UIView.MultipleTouchEnabled 属性

定义

控制 UIView 是否可以处理多点触控事件。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool MultipleTouchEnabled { [Foundation.Export("isMultipleTouchEnabled")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setMultipleTouchEnabled:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.MultipleTouchEnabled : bool with get, set

属性值

多点触控重新显示的状态。

属性

注解

默认情况下,UIView 只一次处理单个触摸事件。 如果希望视图处理多个触摸,则必须将此属性设置为 true。

适用于