TabScreen

public struct TabScreen : View

A struct used to define the tab screen.

  • Creates a TabScreen instance.

    Declaration

    Swift

    public init<Content>(tabItem: TabItemContent, @ViewBuilder content: @escaping () -> Content) where Content : View

    Parameters

    tabItem

    the the tab item content.

    content

    a @ViewBuilder that contains the tab screen content.

  • The body of TabScreen. It creates a view with the modal tab screen content.

    Declaration

    Swift

    public var body: some View { get }