SwiftUI NavigationView Hide Status Bar

Hey,

I am unable to hide the status bar when the view is in a NavigationView. I've tried so many solutions to no avail...

This seems like a bug in iOS 14 with XCode 12

Code Block
.edgesIgnoringSafeArea(.all)
.navigationBarHidden(true)
.statusBar(hidden: true)

Answered by terwin in 642897022
Solved using the solution here:

http://piterwilson.com/blog/there-really-is-no-good-way-to-present-fullscreen-modals-in-swiftui
Accepted Answer
Solved using the solution here:

http://piterwilson.com/blog/there-really-is-no-good-way-to-present-fullscreen-modals-in-swiftui
SwiftUI NavigationView Hide Status Bar
 
 
Q