Contents

init(value:content:)

Creates a new tab that you can use in a tab view, with an empty label.

Declaration

nonisolated init(value: Value, @ViewBuilder content: () -> Content) where Label == EmptyView

Parameters

  • value:

    The selection value which selects this tab.

  • content:

    The view content of the tab.

See Also

Creating a tab