One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TabPlacement

struct · iOS 18.0+ · SDK 27.1

struct TabPlacement

A place that a tab can appear. Not all `TabView` styles support all placements.

Members (3)

get · iOS 18.0+

sidebarOnly

TypeScript
static get sidebarOnly(): TabPlacement
Swift declaration
static let sidebarOnly: TabPlacement

The sidebar tab placement location. On visionOS in the ``TabViewStyle/sidebarAdaptable`` style, the ornament tab bar is considered part of the sidebar.

get · iOS 18.0+

pinned

TypeScript
static get pinned(): TabPlacement
Swift declaration
static let pinned: TabPlacement

The pinned tab placement location.

get · iOS 18.0+

automatic

TypeScript
static get automatic(): TabPlacement
Swift declaration
static let automatic: TabPlacement

The default tab location.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →