Is there any way to have this status bar in iOS 6?
In previous version of iOS, it has that status bar, but in iOS 6 it seems to follow the navigation bar color..
In iOS 6 the status bar color is now automatically determined by the navigation bar colors. To be specific the color is determined by the average color of the bottom pixel of the navigation bar as seen below:
I am not sure if there is any other way to override this new operation.
[[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleBlackOpaque];
or
[[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
are the options available apart from default
I've found out in iOS6, you can not get gray "former default" style. All parameter in info.plist and
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
either setting can not give you light gray in iOS6. In iOS5,
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
This was what you needed. So iOS6 eliminated gray bar style.
You can do it by change the status bar properties as follows:
1-Go to your project target.
2-Choose summary tap.
3-Go to status bar section.
4-Customize it as you like.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With