contextMenuInteraction(_:willDisplayMenuFor:animator:)
Declaration
func contextMenuInteraction(_ interaction: UIContextMenuInteraction, willDisplayMenuFor configuration: UIContextMenuConfiguration, animator: (any UIContextMenuInteractionAnimating)?)See Also
Managing context menus
Adding context menus in your appcontextMenuInteractionisContextMenuInteractionEnabledshowsMenuAsPrimaryActioncontextMenuInteraction(_:configurationForMenuAtLocation:)contextMenuInteraction(_:previewForDismissingMenuWithConfiguration:)contextMenuInteraction(_:previewForHighlightingMenuWithConfiguration:)contextMenuInteraction(_:willEndFor:animator:)menuAttachmentPoint(for:)