---
title: "tabViewBottomAccessory(content:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/tabviewbottomaccessory(content:)"
---

# tabViewBottomAccessory(content:)

Places a view as the bottom accessory of the tab view.

## Declaration

```swift
nonisolated func tabViewBottomAccessory<Content>(@ContentBuilder content: () -> Content) -> some View where Content : View

```

## Discussion

Discussion On iPhone, the placement of the bottom accessory depends on the tab bar size: when the tab bar is normal size, the accessory appears above it; when the tab bar is collapsed, the accessory displays inline. Use the tabViewBottomAccessoryPlacement environment value to adjust the accessory’s content based on its placement. The following example sets a status view as the TabView bottom accessory. TabView {     Tab("Home", systemImage: "house") {         HomeView()     }

Tab("Alerts", systemImage: "bell") {         AlertsView()     }

TabSection("Categories") {         Tab("Climate", systemImage: "fan") {             ClimateView()         }

Tab("Lights", systemImage: "lightbulb") {             LightsView()         }     } } .tabViewBottomAccessory {     HomeStatusView() }

## See Also

### Tab views

- [defaultAdaptableTabBarPlacement(_:)](swiftui/view/defaultadaptabletabbarplacement(_:).md)
- [defaultTabBarPlacement(_:)](swiftui/view/defaulttabbarplacement(_:).md)
- [sectionActions(content:)](swiftui/view/sectionactions(content:).md)
- [tabBarMinimizeBehavior(_:)](swiftui/view/tabbarminimizebehavior(_:).md)
- [tabViewBottomAccessory(isEnabled:content:)](swiftui/view/tabviewbottomaccessory(isenabled:content:).md)
- [tabViewCustomization(_:)](swiftui/view/tabviewcustomization(_:).md)
- [tabViewSearchActivation(_:)](swiftui/view/tabviewsearchactivation(_:).md)
- [tabViewSidebarHeader(content:)](swiftui/view/tabviewsidebarheader(content:).md)
- [tabViewSidebarFooter(content:)](swiftui/view/tabviewsidebarfooter(content:).md)
- [tabViewSidebarBottomBar(content:)](swiftui/view/tabviewsidebarbottombar(content:).md)
