SwiftUI, iOS 26.2, ToolbarItem .largeTitle and .title, overlap issue

I built this very simple example to demonstrate the issue im facing on iOS 26 when trying to use custom ToolbarItem element for .largeTitle.

Code:

struct ContentView: View { var body: some View { NavigationStack { Screen() .navigationTitle("First") .toolbar { ToolbarItem(placement: .largeTitle) { Text("First") .font(.largeTitle) .border(Color.black) } } .navigationDestination(for: Int.self) { integer in DestinationScreen(integer: integer) } } } }

struct Screen: View { var body: some View { List { ForEach(1..<50) { index in NavigationLink(value: index) { Text(index.description) .font(.largeTitle) } } } } }

struct DestinationScreen: View { let integer: Int

var body: some View {
    HStack {
        Text(integer.description)
            .font(.largeTitle)
        Spacer()
    }
    .padding()
    .navigationTitle(integer.description)
    .toolbar {
        ToolbarItem(placement: .largeTitle) {
            Text(integer.description)
                .font(.largeTitle)
                .border(Color.black)
        }
    }
}

}

As shown on the gif, when navigating between pages, titles are going to overlap for a short while.

Other questions:

Why is it required for .navigationTitle() to exist (empty string wouldn't work!) so that the ToolbarItem .largeTitle can render at all?

If none is added, this ToolbarItem simply won't appear

Why isn't the large title naturally aligning to the leading side?

Apple doc. doesn't mention any of this behaviour as far as I know but in general these placement should replicate known established behaviours, and .largeTitle should be leading aligned.

Another issue is shown on the image below. When using both .largeTitle and .title (to simulate the same behaviour of transition between large and inline title when scrolling), both will appear at the same time. The large title will disappear as you scroll down which is fine.

Thank you for your post and the excellent animation that illustrates the result of the code. This is a very interesting issue, I personally have not seen this issue but other engineers here may have seen it and they can jump in this thread to provide an insight. In the meantime I would like to get familiar with the issue if any, Upon reviewing the code, I recommend implementing a focus sample that can be downloaded and tested across various iOS 26 release versions.

Based on the code snippet you provided, it appears that you are experiencing an issue with custom toolbar items when using a placement in iOS 26 beta. Could you please specify which beta you are referring to? Is it the newest release beta? Providing more details will enable us to consult the release notes to ascertain whether there are any known issues or notes regarding toolbar items in the iOS 26 beta release notes. This could indicate a beta-specific bug.

If you are able to create a focused sample, please share a link to your test project. This will assist us in gaining a better understanding of the issue.

If you are not familiar with preparing a test project, you may find the following resource helpful: Creating a test project.

Once we have access to the focused sample, we may identify the issue as a bug and provide you with workarounds to test using different toolbar placements to determine if the problem is specific to a particular placement.

Thanks for your help on this one.

Albert Pascual
  Worldwide Developer Relations.

SwiftUI, iOS 26.2, ToolbarItem .largeTitle and .title, overlap issue
 
 
Q