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?) -> SelfParameters
valueThe title of the action button.
Return Value
Self
-
Sets the background color of the action button.
Declaration
Swift
@discardableResult public func backgroundColor(_ value: UIColor?) -> SelfParameters
valueThe 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?) -> SelfParameters
valueThe visual effect to apply to the button.
Return Value
Self
ListRowAction Class Reference