---
title: "defaultAdaptableTabBarPlacement(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/defaultadaptabletabbarplacement(_:)"
---

# defaultAdaptableTabBarPlacement(_:)

Specifies the default placement for the tabs in a tab view using the adaptable sidebar style.

## Declaration

```swift
nonisolated func defaultAdaptableTabBarPlacement(_ defaultPlacement: AdaptableTabBarPlacement = .automatic) -> some View

```

## Parameters

- `defaultPlacement`: The default arrangement for the tab view.

## Discussion

Discussion This modifier is only effective on iPadOS in the sidebarAdaptable style. In any other configuration, the system ignores it. The following example shows a TabView with three tabs, where the tab view displays the sidebar representation when the app initially launches. TabView(selection: $selection) {     Tab("Home", systemImage: "house", value: MyTab.home) {         MyHomeView()     }

Tab("Downloads", systemImage: "square.and.arrow.down.fill",         value: MyTab.downloads     ) {         MyDownloadsView()     }

Tab("Browse", systemImage: "list.bullet", value: MyTab.browse) {         MyBrowseView()     } } .tabViewStyle(.sidebarAdaptable) .defaultAdaptableTabBarPlacement(.sidebar)

## See Also

### Configuring a tab bar

- [defaultTabBarPlacement(_:)](swiftui/view/defaulttabbarplacement(_:).md)
- [tabViewSidebarHeader(content:)](swiftui/view/tabviewsidebarheader(content:).md)
- [tabViewSidebarFooter(content:)](swiftui/view/tabviewsidebarfooter(content:).md)
- [tabViewSidebarBottomBar(content:)](swiftui/view/tabviewsidebarbottombar(content:).md)
- [AdaptableTabBarPlacement](swiftui/adaptabletabbarplacement.md)
- [tabBarPlacement](swiftui/environmentvalues/tabbarplacement.md)
- [TabBarPlacement](swiftui/tabbarplacement.md)
- [isTabBarShowingSections](swiftui/environmentvalues/istabbarshowingsections.md)
- [tabBarMinimizeBehavior(_:)](swiftui/view/tabbarminimizebehavior(_:).md)
- [TabBarMinimizeBehavior](swiftui/tabbarminimizebehavior.md)
- [TabViewBottomAccessoryPlacement](swiftui/tabviewbottomaccessoryplacement.md)
