<!--
{
  "availability" : [
    "iOS: 14.0.0 - 18.0.0",
    "iPadOS: 14.0.0 - 18.0.0",
    "macCatalyst: -",
    "tvOS: 14.0.0 - 18.0.0",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIListContentConfiguration-swift.struct/plainHeader()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit26UIListContentConfigurationV11plainHeaderACyFZ"
  },
  "title" : "plainHeader()"
}
-->

# plainHeader()

Creates the default configuration you use to style a header in a plain list.

```
static func plainHeader() -> UIListContentConfiguration
```

## Return Value

The default configuration for a header in a plain list.

## Discussion

Create this configuration to update the content and styling of a header in a table view or collection view list.

For an appearance consistent with system defaults, display your header in a table view or collection view list that you configure with one of the following enumeration cases:

- [`UITableView.Style.plain`](/documentation/UIKit/UITableView/Style-swift.enum/plain)
- [`UICollectionLayoutListConfiguration.Appearance.plain`](/documentation/UIKit/UICollectionLayoutListConfiguration-swift.struct/Appearance-swift.enum/plain)
- [`UICollectionLayoutListConfiguration.Appearance.sidebarPlain`](/documentation/UIKit/UICollectionLayoutListConfiguration-swift.struct/Appearance-swift.enum/sidebarPlain)

Configure the background of your header using one of the [`UIBackgroundConfiguration`](/documentation/UIKit/UIBackgroundConfiguration-swift.struct) options below. Match the background of your header to the corresponding table view or collection view styles as follows:

|Background configuration option                                                                             |Matching table view or collection view styles                                                                                                                                                                                                                                                                                                  |
|------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|``doc://com.apple.uikit/documentation/UIKit/UIBackgroundConfiguration-swift.struct/listPlainHeaderFooter()``|``doc://com.apple.uikit/documentation/UIKit/UITableView/Style-swift.enum/plain``, ``doc://com.apple.uikit/documentation/UIKit/UICollectionLayoutListConfiguration-swift.struct/Appearance-swift.enum/plain``, ``doc://com.apple.uikit/documentation/UIKit/UICollectionLayoutListConfiguration-swift.struct/Appearance-swift.enum/sidebarPlain``|

---

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)