Enumeration

UIPencilPreferredAction

The preferred double-tap actions that a user can select from in the Settings app.

Declaration

enum UIPencilPreferredAction : Int

Topics

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.

case showColorPalette

The action indicating to display a color palette.

See Also

Determining User Preference

class var preferredTapAction: UIPencilPreferredAction

The user’s preferred double-tap action, as specified in the Settings app.