Magic Studio

专心做有逼格的APP!

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.

share|edit|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.

share|edit|flag
  add comment

posted on 2013-09-26 16:18  Mr 布鲁斯  阅读(295)  评论(0编辑  收藏  举报

导航