Contents

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

Configuring a view’s visual appearance