iOS Question Status Bar text/icon color

stevenindon

Active Member
Licensed User
Hello all,

I have been using this code to change the status bar text/icon color :

B4X:
        'SET STATUS BAR TEXT COLOR - BLACK/WHITE   
        Dim no As NativeObject = App
        If iTheme="BLACK" Then
            no.RunMethod("setStatusBarStyle:", Array(0))
        else if iTheme="WHITE" Then
            no.RunMethod("setStatusBarStyle:", Array(1))
        End If

It all work fine. But above code doesn't seems to work for iPhone 14.

Please help... Thank you.
 
Top