Instance Property

backgroundColor

The view’s background color.

Declaration

@NSCopying var backgroundColor: UIColor? { get set }

Discussion

Changes to this property can be animated. The default value is nil, which results in a transparent background color.

See Also

Related Symbols

var alpha: CGFloat

The view’s alpha value.

var isOpaque: Bool

A Boolean value that determines whether the view is opaque.