Instance Method


Tells the delegate that the user double-tapped their Apple Pencil.


optional func pencilInteractionDidTap(_ interaction: UIPencilInteraction)


When handling the double tap, perform either:

  • The action selected by the user in the Settings app, as specified by the preferredTapAction class property.

  • An alternative behavior that gives the user the best experience for your app. Should you decide to support an alternative, provide an intuitive way for the user to learn about and enable that behavior.