The code is shown as follows. Once the tabViewBottomAccessory is enabled, the tabViewSidebarBottomBar disappears.
TabView {
Text("tab a")
.tabItem {
Image(systemName: "a.square")
Text("Tab A")
}
.ignoresSafeArea(edges: [.all])
Text("tab b")
.tabItem {
Image(systemName: "b.square")
Text("Tab B")
}
.ignoresSafeArea(edges: [.all])
}
//.tabViewBottomAccessory {
// Text("tabViewBottomAccessory")
//}
.tabBarMinimizeBehavior(.onScrollDown)
.tabViewStyle(.sidebarAdaptable)
.tabViewSidebarBottomBar {
Text("tabViewSidebarBottomBar")
}