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。

適用於