One Logo Pool Ball
SwiftUI · IOS API REFERENCE

SidebarAdaptableTabViewStyle

struct · iOS 18.0+ · SDK 27.1

nonisolated struct SidebarAdaptableTabViewStyle

A tab bar style that adapts to each platform. Tab views using the sidebar adaptable style have an appearance that varies depending on the platform: * iPadOS displays a top tab bar that can adapt into a sidebar. * iOS displays a bottom tab bar. * macOS and tvOS always show a sidebar. * visionOS shows an ornament and also shows a sidebar for secondary tabs within a ``TabSection``. Use ``TabViewStyle/sidebarAdaptable`` 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 18.0+

init

TypeScript
static init(): SidebarAdaptableTabViewStyle
Swift declaration
nonisolated init()

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →