在调用系统相册时,UIIMagePickerController使用中偷换StatusBar颜色的问题
此时解决办法是
#pragma mark - UIImagePickerController Delegate - (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated { // bug fixes: UIIMagePickerController使用中偷换StatusBar颜色的问题 if ([navigationController isKindOfClass:[UIImagePickerController class]]) { [[UIApplication sharedApplication] setStatusBarHidden:NO]; [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO]; } }