<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIBarAppearance/backgroundImage",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIBarAppearance(py)backgroundImage"
  },
  "title" : "backgroundImage"
}
-->

# backgroundImage

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

```
var backgroundImage: UIImage? { get set }
```

## Discussion

The bar layers the specified image on top of the content in the [`backgroundEffect`](/documentation/UIKit/UIBarAppearance/backgroundEffect) and [`backgroundColor`](/documentation/UIKit/UIBarAppearance/backgroundColor) properties. UIKit sizes the image according to the value in the [`backgroundImageContentMode`](/documentation/UIKit/UIBarAppearance/backgroundImageContentMode) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)