iOS Question NavigationBar and Title color

Branko Milosevic

Active Member
Licensed User
I made NavigationBar color black and Title color white so I lost the system notification area which is still black so not visible. How to change color of this element? (talking about the very top line with the battery charge level on the right)
TYIA

This is how I changed the TitleColor and the NavigationBar color:
B4X:
NavControl = Nav
    SetTitleColor(Nav, Colors.White)
   
    Dim no As NativeObject = NavControl
    no.GetField("navigationBar").RunMethod("setBarTintColor:", Array(no.ColorToUIColor(Colors.Black)))
    Dim no As NativeObject = NavControl
    no.GetField("navigationBar").SetField("translucent", False)
 
Top