iOS Question Statuscolor not changing

webhost.company

Active Member
Licensed User
Longtime User
Hello
I use below code for change status bar color
B4X:
Dim no As NativeObject = NavControl
    no.GetField("navigationBar").RunMethod("setBarTintColor:", Array(no.ColorToUIColor(Colors.Red)))
    no.GetField("navigationBar").SetField("translucent", False)
    no.GetField("navigationBar").RunMethod("setTintColor:", Array(no.ColorToUIColor(Colors.White)))
    SetTitleColor(NavControl,Colors.White
But it's not working
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…