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() } } } `
There's no supported way for you to programmatically hide the bottom accessory in a tab view with the APIs currently available. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?