---
title: plainHeader()
framework: uikit
role: symbol
role_heading: Type Method
path: uikit/uilistcontentconfiguration-swift.struct/plainheader()
---

# plainHeader()

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

## Declaration

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

## Return Value

Return Value The default configuration for a header in a plain list.

## Discussion

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 UICollectionLayoutListConfiguration.Appearance.plain UICollectionLayoutListConfiguration.Appearance.sidebarPlain Configure the background of your header using one of the UIBackgroundConfiguration options below. Match the background of your header to the corresponding table view or collection view styles as follows:  |   |

## See Also

### Creating header and footer configurations

- [plainFooter()](uikit/uilistcontentconfiguration-swift.struct/plainfooter().md)
- [groupedHeader()](uikit/uilistcontentconfiguration-swift.struct/groupedheader().md)
- [groupedFooter()](uikit/uilistcontentconfiguration-swift.struct/groupedfooter().md)
- [prominentInsetGroupedHeader()](uikit/uilistcontentconfiguration-swift.struct/prominentinsetgroupedheader().md)
- [extraProminentInsetGroupedHeader()](uikit/uilistcontentconfiguration-swift.struct/extraprominentinsetgroupedheader().md)
- [sidebarHeader()](uikit/uilistcontentconfiguration-swift.struct/sidebarheader().md)
