Instance Property

backgroundColor

The background color of the action button.

Declaration

@NSCopying var backgroundColor: UIColor? { get set }

Discussion

Use this property to specify the background color for your button. If you do not specify a value for this property, UIKit assigns a default color based on the value in the style property.

See Also

Configuring the Action’s Appearance

var style: UITableViewRowAction.Style

The style applied to the action button.

Deprecated
enum UITableViewRowAction.Style

Constants that specify the appearance of action buttons.

Deprecated
var title: String?

The title of the action button.

Deprecated
var backgroundEffect: UIVisualEffect?

The visual effect to apply to the button.

Deprecated