UIContextualAction.Handler
The handler block to call in response to the selection of an action.
Declaration
@MainActor typealias Handler = (UIContextualAction, UIView, @escaping (Bool) -> Void) -> VoidParameters
- action:
The object containing information about the selected action.
- sourceView:
The view in which the action was displayed.
- completionHandler:
The handler block for you to execute after you have performed the action. This block has no return value and takes the following parameter: