Enumeration Case

UIPencilPreferredAction.switchEraser

The action indicating to switch from the current tool to the eraser.

Declaration

case switchEraser = 1

Discussion

If the eraser is the current tool when handling the pencilInteractionDidTap(_:), switch to the tool that was in use before the eraser.

See Also

Preferred Actions

case ignore

The action indicating to ignore double taps a user makes on Apple Pencil.

case switchPrevious

The action indicating to switch from the current tool to the one previously in use.

case showColorPalette

The action indicating to display a color palette.