tableView(_:previewForHighlightingContextMenuWithConfiguration:)
Returns a view to override the default preview the table view created.
Declaration
optional func tableView(_ tableView: UITableView, previewForHighlightingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview?Parameters
- tableView:
The table view informing the delegate of this event.
- configuration:
The configuration of the menu being highlighted.
See Also
Managing context menus
Adding context menus in your apptableView(_:contextMenuConfigurationForRowAt:point:)tableView(_:previewForDismissingContextMenuWithConfiguration:)tableView(_:willDisplayContextMenu:animator:)tableView(_:willEndContextMenuInteraction:animator:)tableView(_:willPerformPreviewActionForMenuWith:animator:)