IOS 单页面状态栏文字白色,其余黑色

首先,在此ViewController中实现

<UINavigationControllerDelegate>协议。

接着,重写方法

- (UIStatusBarStyle)preferredStatusBarStyle{

return UIStatusBarStyleLightContent;

}

原文地址:https://www.cnblogs.com/howlaa/p/13638835.html