Instance Property

backgroundColor

The background color of the action button.

Declaration

@NSCopying var backgroundColor: UIColor! { get set }

Discussion

The default value of this property is determined by the value of the style property, which determines the default appearance of the button. Assigning a new color to this property changes the background to the color that you specify.

See Also

Configuring the Appearance

var title: String?

The title displayed on the action button.

var image: UIImage?

The image to display in the action button.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software