Contents

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 don’t 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