Contents

tableView(_:willPerformPreviewActionForMenuWith:animator:)

Informs the delegate when a user triggers a commit by tapping the preview.

Declaration

optional func tableView(_ tableView: UITableView, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: any UIContextMenuInteractionCommitAnimating)

Parameters

  • tableView:

    The table view informing the delegate of this event.

  • configuration:

    The configuration of the menu being displayed.

  • animator:

    The animations to run alongside the commit transition.

See Also

Managing context menus