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