In iOS 26.1, SwiftUI's tabViewBottomAccessory API cannot control visibility properly. The tabViewBottomAccessory remains always visible, which is inconsistent with the behavior in iOS 26.0 / iOS 26.0.1.
`
struct ContentView: View {
enum Tabs {
case first
}
@State private var selection: Tabs = .first
@State private var showBottomAccessory: Bool = true
var body: some View {
tabView
}
var tabView: some View {
TabView(selection: $selection) {
Tab(value: .first) {
content
} label: {
VStack {
Text("first")
}
}
}
.tabViewBottomAccessory {
if showBottomAccessory {
Text("BottomAccessory")
}
}
}
var content: some View {
Button("change") {
showBottomAccessory.toggle()
}
}
}
`
Topic:
UI Frameworks
SubTopic:
SwiftUI