Well, there is no specific setting to set the color of the status bar for iOS. Instead, the status bar would inherit the screen’s background color but that is no longer the case since lare last year.
So, as explained above, if I would want my iOS sratus bar to be green, I would set my screen’s background color to green. If i would want my iOS sratus bar to be black, I would set my screen’s background color to black. But now, it is always white.
Yes, I understand. A better way to phrase would be the status bar on iOS used to inherit the color from the screen’s background color but no longer does.
In either case, I’ll look into it and hopefully we can get this fixed soon.
Well, either a fix or a separate option for setting the iOS status bar color irrespective of the screen color, just like on Android which has a separate option for this.
The light/dark modes are display themes in iOS settings. I can see the status bar when my iOS theme is light, but I can not see the status bar when I have the iOS theme as dark mode. (see my pics above)
I hope that clarifies. I don’t know if it matters but I am using the top navigation in Thunkable.
Thanks, this is actually correct behavior if you have the screen’s statusBarStyle set to default. If you are in light mode it assumes you need the text to be dark to show on top of light content. If you’re in dark mode it assumes the opposite. To fix, you can set the statusBarStyle manually to either light or dark content depending on what you need.
Correct. But in my (and many others) case, we explicitly set the value to ‘light-content’ and set the screen’s background color to black. This was working fine up until late last year but all of a sudden, it stopped.
Again, you can explicitly set the value if you prefer. But the idea of having it be reactive to whether the user has dark mode enabled or not is so that you can reactively use the correct color without any further settings.
Though I just realized that we don’t expose a block to determine if the phone is set to dark mode so we should probably work on that. If you had something like that available you could set your screens’ background and statusBarColor to black if dark mode is on or white if it isn’t. Then if you leave the screen’s statusBarStyle to default it will have the correct colors regardless of which background color it has.
@oreeldadln I think we’ve identified the issue but it takes time to get the fix implemented, tested, and released. If all goes well I think we should be able to get it out next week.
@boomdaba1232rbid Hm, that looks like another separate issue. The color of the status bar items looks correct. There just seems to be either an additional unwanted white bar at the top or the screen (and there the background color of the screen) isn’t extending all the way to the top of the phone. I’ll take a look at this as well.