As it is shown in the attached figure, status bar text is black. Is there way to change to another color, for example white ?
2
-
doubleencore.com/2013/09/…jamapag– jamapag2014-04-08 21:08:44 +00:00Commented 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 whitekeshav– keshav2021-12-16 05:52:09 +00:00Commented Dec 16, 2021 at 5:52
Add a comment
|
2 Answers
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/
Comments
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];
…
}