One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TabBarPlacement

struct · iOS 18.0+ · SDK 27.1

struct TabBarPlacement

A placement for tabs in a tab view.

Members (5)

get · iOS 18.0+

topBar

TypeScript
static get topBar(): TabBarPlacement
Swift declaration
static let topBar: TabBarPlacement

Top bar of a tab view. A tab bar can display as the top bar in ``TabViewStyle/tabBarOnly`` on iPad and macOS, or ``TabViewStyle/sidebarAdaptable`` on iPad.

get · iOS 18.0+

bottomBar

TypeScript
static get bottomBar(): TabBarPlacement
Swift declaration
static let bottomBar: TabBarPlacement

Bottom bar of a tab view.

get · iOS 18.0+

pageIndicator

TypeScript
static get pageIndicator(): TabBarPlacement
Swift declaration
static let pageIndicator: TabBarPlacement

Tab view displaying as an indicator that shows the position within the pages.

get · iOS 18.0+

sidebar

TypeScript
static get sidebar(): TabBarPlacement
Swift declaration
static let sidebar: TabBarPlacement

The sidebar of a tab view. A tab bar can appear as a sidebar in ``TabViewStyle/sidebarAdaptable`` on iPad, macOS, visionOS, and tvOS.

get · iOS 18.0+

ornament

TypeScript
static get ornament(): TabBarPlacement
Swift declaration
static let ornament: TabBarPlacement

Tab view displaying as an ornament.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →