Contents

backgroundView

The background view of the header or footer.

Declaration

var backgroundView: UIView? { get set }

Mentioned in

Discussion

The view in this property appears behind the view in the contentView property and displays static background content behind the header or footer. For example, you might assign an image view to this property and use it to display a custom background image.

A background configuration is mutually exclusive with background views, so you must use one approach or the other. Setting a non-nil value for this property resets backgroundConfiguration to nil.

See Also

Configuring the background