Bottom Accessory
A modifier to place content above the tabs
Platform Compatibility
SwiftUI Code
TabView {
Tab("1", systemImage: "1.circle") {
EmptyView()
}
Tab("2", systemImage: "2.circle") {
EmptyView()
}
Tab("3", systemImage: "3.circle") {
EmptyView()
}
}
.tabViewBottomAccessory {
Text("Foo")
}
Found an issue or have a suggestion?
More TabView Components
View allDefault Tab Bar Placement
Specifies the preferred placement for the tabs of a TabView in the sidebarAdaptable style on platforms where the tab bar cannot adapt between different representations, and only one representation can be shown. For example, on iOS, it can enforce the sidebar on large-screen devices like the Pro Max, and iPhone Duo. This modifier has no effect on iPadOS.
Default Collapsed Tab Section
Sets the default expansion state for the section containing this tab to collapsed when displayed in the sidebar.
Tab View Customization Behavior
Configures the customization behavior of customizable tab view content.
Tab View Customization
Specifies the customizations to apply to the sidebar representation of the tab view.
Explore Other Components
Browse allBorderedListStyle
The list style that describes the behavior and appearance of a list with standard border.
Sheet Background Interaction
Controls whether people can interact with the view behind a presentation.
Music Picker
Presents a music picker to select items from the Apple Music catalog and the user’s music library.