Я заметил, что в моем приложении .edgesIgnoringSafeArea отображает мое представление по-разному в iOS 13.3 и iOS 13.4.
В моем ContentView у меня есть модификатор .edgesIgnoringSafeArea (.top) , Это отображается правильно во всех iOS 13 версиях, приводящих к 13.4. Теперь в GM 13.4 верх и низ вида обрезаются.
Вот мой ContentView
struct ContentView: View {
@EnvironmentObject var session: SessionStore
func getUser() {
session.listen()
}
var body: some View {
Group {
ZStack {
TabView {
ExploreView().tabItem {
Image(systemName: "house.fill")
Text("Explore")
}.tag(1)
FestivalsView().tabItem {
Image(systemName: "globe")
Text("Festivals")
}.tag(2)
ProfileView().tabItem {
Image(systemName: "person.crop.circle.fill")
Text("Profile")
}.tag(3)
}
.accentColor(Color("wdwPurple"))
.edgesIgnoringSafeArea(.top)
}
}.onAppear(perform: getUser)
}
}
Вот как он отображается:

Есть идеи?