Contents

defaultContentConfiguration()

Retrieves a default list content configuration for the view’s style.

Declaration

@MainActor @preconcurrency func defaultContentConfiguration() -> UIListContentConfiguration

Return Value

A default list content configuration. The system determines default values for the configuration according to the section where the view appears.

Discussion

The default content configuration has preconfigured default styling, but doesn’t contain any content. After you get the default configuration, you assign your content to it, customize any other properties, and assign it to the view as the current contentConfiguration.

See Also

Managing the content