Contents

UIContextualAction

An action to display when the user swipes a table row.

Declaration

@MainActor class UIContextualAction

Overview

Create UIContextualAction objects to define the types of actions that can be performed when the user swipes left or right on a table row. Use your actions to initialize a UISwipeActionsConfiguration object in your table view delegate object.

Topics

Creating the contextual action

Configuring the appearance

Getting the configuration details

See Also

Row actions