ListRowAction

@available(iOS, introduced: 8.0, deprecated: 13.0, message: "Use ListContextualAction and related APIs instead.")
public class ListRowAction : UITableViewRowAction

A single action to present when the user swipes horizontally in a list row.

  • Sets the title of the action button.

    Declaration

    Swift

    @discardableResult
    public func title(_ value: String?) -> Self

    Parameters

    value

    The title of the action button.

    Return Value

    Self

  • Sets the background color of the action button.

    Declaration

    Swift

    @discardableResult
    public func backgroundColor(_ value: UIColor?) -> Self

    Parameters

    value

    The background color of the action button.

    Return Value

    Self

  • Sets the visual effect to apply to the button.

    Declaration

    Swift

    @discardableResult
    public func backgroundEffect(_ value: UIVisualEffect?) -> Self

    Parameters

    value

    The visual effect to apply to the button.

    Return Value

    Self