Hi there,
I am looking to be able to change the color of the status bar to black, to make it visible over the white background of my UI.view. When searching for ways to do this, I found you can simply use title_bar_color when presenting the view in fullscreen mode (which works). The issue is that for my program, I would like to have the title bar hidden, but when I do this the status bar goes back to white.
I have noticed this only happens when my phone is in dark mode, and when the device is in light mode the status bar is black by default and works correctly. I tried changing the overrideUserInterfaceStyle property in the ObjCInstance of my UIView to force light mode behaviour, but this doesn't seem to work, even though I have used overrideUserInterfaceStyle to successfully change the color of other UI elements. I think it may work if I did something like https://stackoverflow.com/questions/38740648/how-to-set-status-bar-style-in-swift-3#answer-40066798 to set the preferred status bar color in the ViewController, however I was unable to find how to override this method using objc_util.
Let me know if there are any more details or code that you would like me to provide, and thank you so much for the help!