In my case, I am using XCode6 for developer IOS8 . The method UIStatusBarStyleBlackTranslucent had been deprecated, but my background is all darkcolor . Can someone help me to fix it? thank you~
Asked
Active
Viewed 173 times
-1
-
2Did you look at the available styles? Did you try the others to see which works best for you? – rmaddy Oct 09 '14 at 03:39
-
Ya!! I Know , I want my **StatusBar** set the **backrground color** to dark yellow.... – Stephen Chen Oct 09 '14 at 06:49
1 Answers
2
Try this, you can make view-controller based status bar appearance:
Set
UIViewControllerBasedStatusBarAppearance to NO.
Call
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];

G.P.Reddy
- 556
- 3
- 20
-
I had been used this way to change **BackGroundColor** to the **DarkYellow** I want , But failed..... – Stephen Chen Oct 09 '14 at 06:51