Enumeration Case

UIPencilPreferredAction.showColorPalette

The action indicating to display a color palette.

Declaration

case showColorPalette = 3

Discussion

If your app doesn’t have a color palette, ignore the double-tap interaction.

See Also

Preferred Actions

case ignore

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

case switchEraser

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

case switchPrevious

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