UIGestureRecognizer.RequiresExclusiveTouchType Property

Definition

Gets or sets whether the UIGestureRecognizer is only considering a single type of touch.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool RequiresExclusiveTouchType { [Foundation.Export("requiresExclusiveTouchType")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 2, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setRequiresExclusiveTouchType:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 2, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.RequiresExclusiveTouchType : bool with get, set

Property Value

true indicates the recognizer will ignore new touches that do not match the type of the initial touch.

Attributes

Applies to