iOS 7 改变Status Bar 颜色

  1. Set the UIViewControllerBasedStatusBarAppearance to NO in the Info.plist.

  2. In ViewDidLoad method or anywhere, where do you want to change status bar style:[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];

posted @ 2013-10-09 11:30  菜鸟程序猿  阅读(221)  评论(0编辑  收藏  举报