One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TabSectionExpansion

struct · iOS 27.0+ · SDK 27.1

struct TabSectionExpansion

The default expansion state for a tab section in the sidebar. Use this type in conjunction with the ``TabContent/defaultSectionExpansion(_:)`` modifier.

Members (3)

get · iOS 27.0+

expanded

TypeScript
static get expanded(): TabSectionExpansion
Swift declaration
static let expanded: TabSectionExpansion

The section is initially expanded in the sidebar.

get · iOS 27.0+

automatic

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

The system determines the default expansion state.

get · iOS 27.0+

collapsed

TypeScript
static get collapsed(): TabSectionExpansion
Swift declaration
static let collapsed: TabSectionExpansion

The section is initially collapsed in the sidebar.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →