-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
  • 2,919
  • 2
  • 25
  • 38

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
  • 546
  • 3
  • 19