This is regarding me making my own navbar (see this thread for more info). Normally the status bar piggybacks on the color of the navigation bar. In my case I'm building my own navigation bar, which means I'm hiding the real one. And when I hide the real one, the status bar doesn't pick up the...
if I use this code (as indicated in the linked post)
B4X:
Private Sub Application_Start (Nav As NavigationController)
Dim no As NativeObject = App
no.GetField("statusBar").SetField("backgroundColor", no.ColorToUIColor(Colors.Red))
Iget this error :
App called -statusBar or -statusBarWindow on UIApplication: this code must be changed as there's no longer a status bar or status bar window. Use the statusBarManager object on the window scene instead.