Have the "same" issue:
import SwiftUI
struct PXStartupView: View {
@State var ready = false
var body: some View {
NavigationView{
ZStack{
Color.white
Image("Icon-Startup")
NavigationLink(destination: PXMainView(), isActive: self.$ready){
EmptyView()
}
}
.navigationBarHidden(true)
.navigationBarBackButtonHidden(true)
.navigationBarTitle("", displayMode: .inline)
.edgesIgnoringSafeArea(.all)
}
.navigationBarHidden(true)
.navigationBarBackButtonHidden(true)
.navigationBarTitle("", displayMode: .inline)
.navigationViewStyle(StackNavigationViewStyle())
.statusBar(hidden: true)
}
}
Works fine on iOS 13 (not status bar), but show status bar on iPad iOS 14