Contents

backgroundView

The view to use as the background of the cell.

Declaration

var backgroundView: UIView? { get set }

Discussion

UITableViewCell adds the background view as a subview behind all other views and uses its current frame location.

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

Related Documentation

Configuring the background