I'm developing an app where i want the navigationBar to be invisible and have a dark background. I want the status bar colour to be white. I also want the status bar to be hidden initially.
I have set the Status Bar Style to Light
But the result i get is always black colour text status bar as shown below.
I have tried to set the "View controller-based status bar appearance" to NO and the result was to have a hidden status bar. I also tried to have prefersStatusBarHidden returning NO but still the same.
I have tried to "View controller-based status bar appearance" to YES and the result was black text. I tried to have preferredStatusBarStyle returning UIStatusBarStyleLightContent but still the same.
I'm i doing something wrong. Thanks in advance.