'tabViewBottomAccessory' leaves an empty container when conditionally hidden

We use SwiftUI's .tabViewBottomAccessory in our iOS apps for displaying an Audio MiniPlayer View (like in the Apple Music App).

TabView(selection: $viewModel.selectedTab) {
    // Tabs here   
}
.tabViewBottomAccessory {
    if viewModel.showAudioMiniPlayer {
        MiniPlayerView()
    }
}

The Problem

This code works perfectly on iOS 26.0. When 'viewModel.showAudioMiniPlayer' is 'false', the accessory is completely hidden.

However, on iOS 26.1 (23B5059e), when 'viewModel.showAudioMiniPlayer' is 'false', the MiniPlayerView disappears, but an empty container remains, leaving a blank space above the tab bar.

Is this a known Bug in iOS 26.1 and are there any effective workarounds or should I just wait until Apple fixed it?

Thank you for your post. I am unable to locate your FB number for verification purposes. Have you submitted a bug report regarding this issue? The description is pretty good, however I would also recommend a focused sample showing the issue for engineering.

If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Then I would recommend to open a bug report.

Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Albert Pascual
  Worldwide Developer Relations.

@j_salling Thanks so much for the Feedback ID number. Will help me to keep track of the issue.

You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

Albert Pascual
  Worldwide Developer Relations.

'tabViewBottomAccessory' leaves an empty container when conditionally hidden
 
 
Q