In my Swift UI based app, I have a Navigation View. To make the background of the Navigation View white, I added this code in my AppDelegate
UINavigationBar.appearance().backgroundColor = .white
UINavigationBar.appearance().setBackgroundImage(UIImage(), for: .default)
In iOS 13.3 and below, this view extends up to the the top of the screen, encompassing the StatusBar, so my scrolling content is not visible above the Navigation View. in iOS 13.4, this does not work, and my content can be seen above the Navigation View, in the Status Bar. Has anyone else seen this? Not setting the background image makes the navigation bar and status bar opaque, or maybe slightly. translucent, but the color is wrong.
How do you set the presentation of the view controller (attributes inspector of the ViewController itself, not its view) ?
Don't think it is specific to SwiftUI.
But others have found behavior to change from 13.4 to 13.5, not from 13.3.
Thank you for your response. I'm not trying to hide the status bar, I'm trying to make it opaque, so I don't think this is the same thing.