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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software