//白色 [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES]; //黑色 (系统默认) [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:YES];
援引:https://blog.csdn.net/u011123724/article/details/46679675
她妈的要是不行,可以继续参考
https://www.jianshu.com/p/25e9c1a864be