contentUnavailableConfiguration
The current content-unavailable configuration of the view controller.
Declaration
@MainActor @preconcurrency var contentUnavailableConfiguration: (any UIContentConfiguration)? { get set }Discussion
Use this property to configure a content-unavailable view that the view controller manages. The value of this property is commonly an instance of UIContentUnavailableConfiguration, but you can use other types of content configuration, including a UIHostingConfiguration, to display a SwiftUI view.