2 Replies
      Latest reply on May 22, 2020 7:00 AM by atomic7
      atomic7 Level 1 Level 1 (0 points)

        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.