-2

As it is shown in the attached figure, status bar text is black. Is there way to change to another color, for example white ?

enter image description here

2
  • doubleencore.com/2013/09/… Commented Apr 8, 2014 at 21:08
  • yes you can change by going in your project target -> General -> then you can see option to change your status bar text colour to white Commented Dec 16, 2021 at 5:52

2 Answers 2

1

In your app's plist (or through XCode's GUI) set Status bar style to "Transparent black style (alpha of 0.5)" and you'll get white text. Here's a source for more:

http://www.appcoda.com/customize-navigation-status-bar-ios-7/

Sign up to request clarification or add additional context in comments.

Comments

0

I have got the following answer which works very well.

Just two steps as following:

Step 1:

Under the Info tab of the project target, Add Row:

UIViewControllerBasedStatusBarAppearance, set value NO.

Step 2:

In the project AppDelegate.m:

- (BOOL)application:(UIApplication *)application 
        didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
    …
    [application setStatusBarStyle:UIStatusBarStyleLightContent];
    …
}

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.