Updating apps for iOS 26. Noticed that the toolbar (bottom placement) is laid out behind the tab bar in iPhone. So, in portrait mode you can't see the toolbar buttons.

You can see them in landscape mode because there's more space and the tabs are in the center.

Same app running on iPadOS26 works fine works when the app is dragged to a compact horizontal size. You see the toolbar above the tabbar.

Tested on device and simulators. How can I get my toolbars to show in iPhone above the tabbar?
The code below was used to generate the screenshots.
import SwiftUI
@main
struct ThreeTabsApp: App {
var body: some Scene {
WindowGroup {
RootTabsView()
}
}
}
struct RootTabsView: View {
var body: some View {
TabView {
TabScreen(title: "Home")
.tabItem { Label("Home", systemImage: "house") }
TabScreen(title: "Search")
.tabItem { Label("Search", systemImage: "magnifyingglass") }
TabScreen(title: "Profile")
.tabItem { Label("Profile", systemImage: "person.crop.circle") }
TabScreen(title: "Folder")
.tabItem { Label("Folder", systemImage: "folder.badge.person.crop") }
TabScreen(title: "Walking")
.tabItem { Label("Walking", systemImage: "figure.walk") }
TabScreen(title: "Sun")
.tabItem { Label("Sun", systemImage: "sun.min.fill") }
}
}
}
/// A reusable screen for each tab that provides its own bottom toolbar.
struct TabScreen: View {
let title: String
@State private var counter = 0
var body: some View {
NavigationStack {
VStack(spacing: 16) {
Text(title)
.font(.largeTitle.bold())
Text("Counter: \(counter)")
.font(.title3.monospacedDigit())
Text("Use the bottom toolbar buttons to change the counter.")
.foregroundStyle(.secondary)
}
.padding()
.navigationTitle(title)
.toolbar {
ToolbarItemGroup(placement: .bottomBar) {
Button {
counter = max(0, counter - 1)
print("[\(title)] Prev tapped")
} label: {
Label("Prev", systemImage: "chevron.left")
}
Spacer(minLength: 24)
Button {
counter += 1
print("[\(title)] Next tapped")
} label: {
Label("Next", systemImage: "chevron.right")
}
}
}
}
}
}
