editMenuInteraction(_:willPresentMenuFor:animator:)
Informs the delegate when the interaction is about to present the menu.
Declaration
optional func editMenuInteraction(_ interaction: UIEditMenuInteraction, willPresentMenuFor configuration: UIEditMenuConfiguration, animator: any UIEditMenuInteractionAnimating)Parameters
- interaction:
The interaction object triggering the menu.
- configuration:
The object containing the configuration details for the menu.
- animator:
The object you use to add animations that run alongside the appearance transition.