A single action to present when the user swipes horizontally in a table row.
- iOS 8.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
UITable object to define a single, custom action for a table row. Users swipe horizontally in a table view to reveal the actions associated with a row. Each row-action object contains the text display, the action to perform, and any specific formatting to apply to that action.
To add custom actions to your table view’s rows, implement the
table method in your table view’s delegate object. In that method, create and return the actions for the indicated row. The table displays your action buttons and executes the appropriate handler block when the user taps one of them.