Contents

init(label:description:actions:)

Creates an interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users.

Declaration

init(@ViewBuilder label: () -> Label, @ViewBuilder description: () -> Description = { EmptyView() }, @ViewBuilder actions: () -> Actions = { EmptyView() })

Parameters

  • label:

    The label that describes the view.

  • description:

    The view that describes the interface.

  • actions:

    The content of the interface actions.

See Also

Creating an unavailable view