As it is shown in the attached figure, status bar text is black. Is there way to change to another color, for example white ?
Asked
Active
Viewed 147 times
2 Answers
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/
RobP
- 7,988
- 3
- 18
- 34
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];
…
}
casillas
- 14,727
- 15
- 94
- 183