---
title: backgroundImageContentMode
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibarappearance/backgroundimagecontentmode
---

# backgroundImageContentMode

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

## Declaration

```swift
var backgroundImageContentMode: UIView.ContentMode { get set }
```

## Discussion

Discussion Use this property to specify how to scale or fit the image in the backgroundImage property.

## See Also

### Configuring the background appearance

- [backgroundEffect](uikit/uibarappearance/backgroundeffect.md)
- [backgroundColor](uikit/uibarappearance/backgroundcolor.md)
- [backgroundImage](uikit/uibarappearance/backgroundimage.md)
