iPhone Duo SwiftUI examples
Explore SwiftUI APIs, components, and modifiers on iPhone Duo. Compare portrait and landscape layouts in closed, partially open, and fully open states, with Swift code and Apple documentation.
22elements
TabView
Bottom Accessory
A modifier to place content above the tabs
Explore Bottom Accessory on iPhone Duo in portrait and landscape across closed, partially open, and fully open states, with SwiftUI code and Apple API documentation.
SwiftUI code
TabView {
Tab("1", systemImage: "1.circle") {
EmptyView()
}
Tab("2", systemImage: "2.circle") {
EmptyView()
}
Tab("3", systemImage: "3.circle") {
EmptyView()
}
}
.tabViewBottomAccessory {
Text("Foo")
}
Compatibility
iOS 26.0+ iPadOS 26..0+
Found an issue or have a suggestion?
All variants
Every available iPhone Duo screenshot for Bottom Accessory.