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.ios

share | edit | flag
  add comment

1 Answer

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

UIStatusBarStyle:UIStatusBarStyleLightContent

The default (black) value is UIStatusBarStyleDefault.app

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

share | edit | flag
  add comment
相關文章
相關標籤/搜索