1, if ([[[UIDevice currentDevice] systemVersion] floatValue] < 7.0) {
[application setStatusBarStyle:UIStatusBarStyleDefault];
} else {
[application setStatusBarStyle:UIStatusBarStyleLightContent];
}
2,info.plist
View controller-based status bar appearance NO
时间: 2024-11-05 16:06:59