UIGestureRecognizer.RequiresExclusiveTouchType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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