1.狀態(tài)欄高亮顏色
在info.plist中添加 View controller-based status bar appearance 設(shè)置為 "NO"
在AppDelegate.m中添加代碼
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
2.啟動畫面隱藏狀態(tài)欄
在info.plist中添加 Status bar is initially hidden 設(shè)置為 "YES"
在AppDelegate.m中添加代碼
[[UIApplication sharedApplication] setStatusBarHidden:NO];