Package apple.uikit.protocol
Interface UIPencilInteractionDelegate
-
public interface UIPencilInteractionDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpencilInteractionDidTap(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(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.
-
-