SwiftUI: Status Bar Text Color

To change the status bar text color, you need to edit the UIHostingController call in the SceneDelegate. You can do this by creating your own file, named: HostingController, and having that file contain the following code: and then in the scene delegate changing the line: To: And voila, you have changed the status bar style.

SwiftUI: NavigationView Background Color – Extending into Safe Area

When trying to change the background color of my navigationView, I would change the background color of the UINavgiationBarAppearence in the App Delegate. But the issue with that solution is it would leave a white bar at the top of the screen on the safe area. This looks okay, but the white bar at the…