UITouchType Enum

Definition

Enumerates different kinds of UITouch objects.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITouchType
type UITouchType = 
Inheritance
UITouchType
Attributes

Fields

Direct 0

A direct touch caused by a finger on the screen.

Indirect 1

A touch that was not caused by a finger or stylus.

Stylus 2

A touch that was caused by a stylus (e.g., the Apple Pencil).

Applies to