Contents

backgroundColor

The color of the background.

Declaration

var backgroundColor: UIColor? { get set }

Discussion

If the value is nil, the background color is the view’s tint color. Use clear for a transparent background with no color.

See Also

Customizing the background