Interface UIPencilInteractionDelegate


  • public interface UIPencilInteractionDelegate
    • Method Detail

      • pencilInteractionDidTap

        default void pencilInteractionDidTap​(UIPencilInteraction interaction)
        Called when the user taps on the side of the pencil, if the interaction's view is in a visible view hierarchy. The delegate may do anything in this method. To perform the user's preferred action (as set in Settings), consult the preferredTapAction class property of UIPencilInteraction.