Enumeration Case

UITouch.TouchType.pencil

A touch from Apple Pencil.

Declaration

case pencil = 2

Discussion

A pencil touch occurs when Apple Pencil interacts with the device's screen.

See Also

Touch Types

case direct

A touch resulting from direct contact with the screen.

case indirect

A touch that did not result from contact with the screen.