Contents

init(_:systemImage:content:)

Creates a new tab that you can use in a tab view using a system image for the tab item’s image, and a localized string key label.

Declaration

init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel

Parameters

  • titleKey:

    The localized string key label for the tab’s tab item.

  • content:

    The view content of the tab.

See Also

Creating a tab with system symbol