How to set Status bar color iOS 7

1. open your info.plist and set "View controller-based status bar appearance" = NO

2. Add below code to viewDidLoad or viewWillAppear

UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: false)

posted @ 2015-03-04 05:46  GreatK  阅读(116)  评论(0)    收藏  举报