title: How to change the status bar text color in swift using @main
body: <p>I have been trying for quite a while now to change the status bar color on a specific view to white when the top of the view's background is black but the color scheme of the view is on light mode. I am using @main for my app's launch point and SwiftUI for my app's code.</p>
  <p>Thank you for any help and here's a screenshot to show what I'm talking about:</p>
  <p><a href="https://i.stack.imgur.com/kLpvZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kLpvZ.jpg" alt="My frustration, illustrated" /></a></p>