1. 打开项目资源目录下的Info.plist文件。
2. 打开后,鼠标右键,添加一行,如下图:
选中 “Add Row ”
3. 左侧填写:View controller-based status bar appearance
中间选择: Boolean
右侧填写: NO