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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…