Contents

backgroundImage

The image to display on top of the bar’s background color.

Declaration

var backgroundImage: UIImage? { get set }

Discussion

The bar layers the specified image on top of the content in the backgroundEffect and backgroundColor properties. UIKit sizes the image according to the value in the backgroundImageContentMode property.

See Also

Configuring the background appearance