<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "tvOS: 14.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewCell/backgroundConfiguration-24e8e",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So15UITableViewCellC5UIKitE23backgroundConfigurationAC012UIBackgroundF0VSgvp"
  },
  "title" : "backgroundConfiguration"
}
-->

# backgroundConfiguration

The current background configuration of the cell.

```
@MainActor @preconcurrency var backgroundConfiguration: UIBackgroundConfiguration? { get set }
```

## Discussion

[`UITableViewCell`](/documentation/UIKit/UITableViewCell) automatically sets up a default background configuration to provide its default appearance.

Using a background configuration, you can obtain system default background styling for a variety of different cell states. Create a background configuration with one of the default system styles, customize the configuration to match your cell’s style as necessary, and assign the configuration to this property.

```swift
var backgroundConfig = UIBackgroundConfiguration.listPlainCell()

// Set a nil background color to use the view's tint color. 
backgroundConfig.backgroundColor = nil 

cell.backgroundConfiguration = backgroundConfig 
```

A background configuration is mutually exclusive with background views, so you must use one approach or the other. Setting a non-`nil` value for this property resets the following APIs to `nil`:

- [`backgroundColor`](/documentation/UIKit/UIView/backgroundColor)
- [`backgroundView`](/documentation/UIKit/UITableViewCell/backgroundView)
- [`selectedBackgroundView`](/documentation/UIKit/UITableViewCell/selectedBackgroundView)
- [`multipleSelectionBackgroundView`](/documentation/UIKit/UITableViewCell/multipleSelectionBackgroundView)

---

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)