page(indexDisplayMode:)
A TabViewStyle that implements a paged scrolling TabView with an index display mode.
Declaration
@MainActor @preconcurrency static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyleDiscussion
To apply this style to a tab view, or to a view that contains tab views, use the tabViewStyle(_:) modifier.