ios7 设置status bar风格ios7 设置status bar风格

When I launch my app, it shows the launch image and a black status bar. How can I change it so the status bar is light during launch? I have set the status bar appearance to light in my AppDelegate didFinishLoading method, and it works for the rest of the app.

flag
  add comment

To your Info.plist file add this key-value pair:

UIStatusBarStyle:UIStatusBarStyleLightContent

The default (black) value is UIStatusBarStyleDefault.

You can also append ~iphone or ~ipad to the key.

flag
  add comment

相关文章:

  • 2021-07-07
  • 2022-01-01
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-09-24
猜你喜欢
  • 2022-12-23
  • 2022-02-27
  • 2021-12-04
  • 2021-12-04
  • 2022-12-23
  • 2021-08-06
相关资源
相似解决方案