Contents

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