Consider the following sample code:
import SwiftUI
struct ContentView: View {
var body: some View {
NavigationStack{ TabView{ }
.navigationTitle("Titel")
.navigationBarTitleDisplayMode(.inline)
.toolbar{
ToolbarItemGroup(placement: .topBarTrailing){
TextField("Test2", text: .constant("Test2")).textFieldStyle(.roundedBorder)
Image(systemName: "1.circle")
Image(systemName: "2.circle")
Image(systemName: "3.circle")
}
}
}
}
}
This yields a different (wrong) result since iPadOS 17.4. See attached Images. Even Apps compiled with Xcode 15.2 and run on a device using iPadOS 17.4 beta are suddenly affected! All my experiments to get the old behaviour back were unsuccessful. Does anyone know a way?