Instance Property


The view that provides the background appearance.


var backgroundView: UIView? { get set }


The view (if any) in this property is positioned underneath all of the other content and sized automatically to fill the entire bounds of the collection view. The background view does not scroll with the collection view’s other content. The collection view maintains a strong reference to the background view object.

This property is nil by default, which displays the background color of the collection view.