SwiftUI's tabViewBottomAccessory API Cannot Control Visibility in iOS 26.1

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() } } } `

Answered by DTS Engineer in 861709022

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?

You should probably raise this as a bug in the usual way. It won't really get progressed if it's only posted in these Developer Forums.

You need to raise each issue you find separately at https://feedbackassistant.apple.com/ You can post the FB numbers here if you want, so that others can link to them.

Accepted Answer

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?

SwiftUI's tabViewBottomAccessory API Cannot Control Visibility in iOS 26.1
 
 
Q