Contents

page(indexDisplayMode:)

A TabViewStyle that implements a paged scrolling TabView with an index display mode.

Declaration

@MainActor @preconcurrency static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle

Discussion

To apply this style to a tab view, or to a view that contains tab views, use the tabViewStyle(_:) modifier.

See Also

Getting built-in tab view styles