-1

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~

Stephen Chen
  • 3,027
  • 2
  • 27
  • 39

1 Answers1

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