只需要重写下面的方法即可:
- (UIStatusBarStyle)preferredStatusBarStyle
{
UIStatusBarStyle statusBarStyle = UIStatusBarStyleLightContent;
return statusBarStyle;
}