1.更改tabbar的字體的顏色:
[[UITabBarItem appearance]setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor],NSForegroundColorAttributeName, nil] forState:(UIControlStateSelected)];
2.設置狀態(tài)欄的樣式:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;