iOS status bar font color


#1

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.


#2

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.


Status Bar Styles
#3

@Calendee, this is perfect. Thanks!


#4

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


Status Bar via ng-cordova
#5

To solve this implement this

- (UIStatusBarStyle)preferredStatusBarStyle

{
return UIStatusBarStyleLightContent;
}

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


Change iOS status bar font color to white
Status Bar via ng-cordova
#6

Thanks, it worked!!!


#7

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:


#8

It works @Norwill thanks.