Instance Property


The background color of the bar.


@NSCopying var backgroundColor: UIColor? { get set }


The bar layers the specified color on top of any blur effects you specified in the backgroundEffect property, and below the image in the backgroundImage property.

See Also

Configuring the Background Appearance

var backgroundEffect: UIBlurEffect?

The blur effect to apply to the bar's background.

var backgroundImage: UIImage?

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

var backgroundImageContentMode: UIView.ContentMode

The content mode to use when displaying the bar's background image.