iOS status bar font color

Is it possible to change the color of the font in the iOS status bar? My problem is that the font color is white and my app has a white background so you cannot see the text.

Maybe this helps : org.apache.cordova.statusbar

http://plugins.cordova.io/#/org.apache.cordova.statusbar

Download it and open the README. It has details on styling.

@Calendee, this is perfect. Thanks!

I’m looking for any way to do this (change the font color of staus bar) without succes.

on the plugin documentation, can’t find any to change the font color, only the style, backgroundcolor, hide or show, but nothing to change the font color.

@cnanders or @Calendee do you can help me with this

thanks in advance

To solve this implement this

- (UIStatusBarStyle)preferredStatusBarStyle

{
return UIStatusBarStyleLightContent;
}

on my view controller and set UIViewControllerBasedStatusBarAppearance to yes on info.plist of mi app

1 Like

Thanks, it worked!!!

Hello guys!

Can I change my status bar color according to screen?

For example: My status bar is black, but in my profile screen I need a white status bar color font.

Thanks :slight_smile:

It works @Norwill thanks.