In my app i use ios 6 as deployment targer.
i set View controller-based status bar appearance to No in .Plist. status bar,s back ground color change to green as i want on ios 7. but when i run my app on ios 6 it remain black only when launch image is displayed rest is fine to whole app.
i use this code also in my app delegate...
if (!SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0")) {
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
}
else
{
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
}
How to change back ground of status bar background color and text color while launching the app on both ios 6 and ios 7.