sidebarHeader()
Creates the default configuration you use to style a header in a sidebar list.
Declaration
static func sidebarHeader() -> UIListContentConfigurationReturn Value
The default configuration for a header in a sidebar list.
Discussion
Create this configuration to update the content and styling of a header in a sidebar collection view list.
For an appearance consistent with system defaults, display your header in a sidebar collection view list that you configure with the UICollectionLayoutListConfiguration.Appearance.sidebar enumeration case.
Configure the background of your cell using one of the UIBackgroundConfiguration options below. Match the background of your cell to the corresponding table view or collection view styles as follows:
Background configuration option | Matching table view or collection view styles |
|---|---|