Package apple.uikit.protocol
Interface UIPencilInteractionDelegate
-
public interface UIPencilInteractionDelegateAPI-Since: 12.1
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpencilInteractionDidTap(@NotNull UIPencilInteraction interaction)Called when the user taps on the side of the pencil, if the interaction's view is in a visible view hierarchy.
-
-
-
Method Detail
-
pencilInteractionDidTap
default void pencilInteractionDidTap(@NotNull @NotNull 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.
-
-