步骤如下:
1、修改info.plist选项View controller-based status bar appearance为NO
2、在app delegate中:[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
原创博客,转载请标明出处:https://www.geekapp.cn/archives/442.html
步骤如下:
1、修改info.plist选项View controller-based status bar appearance为NO
2、在app delegate中:[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;