After compiling an App with Xcode 26 that navigation Bar title is now not vertically centered within the NavigationBar however aligned to the highest. How can we stop this?
Is that this meant behaviour or an Xcode bug?
We are able to reproduce this on numerous gadgets with/with out notch/dynamic island, on completely different iOS variations.
var physique: some View {
NavigationStack{
HStack{
Spacer()
VStack{
Spacer()
Textual content("VStack-Content material")
Spacer()
.navigationTitle("NavigationTitle")
.navigationBarTitleDisplayMode(.inline)
}
Spacer()
}
.background(Shade.inexperienced)
}
Edit: Extra Statement, after leaving the app and opening once more from background the navigationBar then is appropriately aligned.