Post

Replies

Boosts

Views

Activity

Status bar is transparent in iOS 13.4
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.
5
0
6.4k
Aug ’22