One Logo Pool Ball
SwiftUI · IOS API REFERENCE

PageTabViewStyle

struct · iOS 14.0+ · SDK 27.1

nonisolated struct PageTabViewStyle

A `TabViewStyle` that displays a paged scrolling `TabView`. Use ``TabViewStyle/page`` or ``TabViewStyle/page(indexDisplayMode:)`` to construct this style. To apply this style to a tab view, or to a view that contains tab views, use the ``View/tabViewStyle(_:)`` modifier.

Members (1)

init · iOS 14.0+

init

TypeScript
static init(indexDisplayMode?: PageTabViewStyle_IndexDisplayMode): PageTabViewStyle
Swift declaration
nonisolated init(indexDisplayMode: PageTabViewStyle.IndexDisplayMode = .automatic)

Creates a new `PageTabViewStyle` with an index display mode

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →