public interface UIContextMenuInteractionDelegate
UIContextMenuConfiguration contextMenuInteractionConfigurationForMenuAtLocation(UIContextMenuInteraction interaction, CGPoint location)
interaction - The UIContextMenuInteraction.location - The location of the interaction in its view.default UITargetedPreview contextMenuInteractionPreviewForDismissingMenuWithConfiguration(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration)
interaction - The UIContextMenuInteraction requesting a dismissal preview.configuration - The configuration of the menu displayed by this interaction.default UITargetedPreview contextMenuInteractionPreviewForHighlightingMenuWithConfiguration(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration)
interaction - The UIContextMenuInteraction requesting a highlighting preview.configuration - The configuration of the menu about to be displayed by this interaction.default void contextMenuInteractionWillDisplayMenuForConfigurationAnimator(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
interaction - The UIContextMenuInteraction.configuration - The configuration of the menu about to be displayed by this interaction.animator - Appearance animator. Add animations to run them alongside the appearance transition.default void contextMenuInteractionWillEndForConfigurationAnimator(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
interaction - The UIContextMenuInteraction.configuration - Ending configuration.animator - Disappearance animator. Add animations to run them alongside the disappearance transition.default void contextMenuInteractionWillPerformPreviewActionForMenuWithConfigurationAnimator(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)
interaction - The UIContextMenuInteraction.configuration - Configuration of the currently displayed menu.animator - Commit animator. Add animations to this object to run them alongside the commit transition.