1.在info.plist文件中加入 View controller-based status bar appearance (Key)并把Value 设置成No
2.在info.plist文件中加入
Status bar is initially hidden (Key) 并把Value设置成YES
1.在info.plist文件中加入 View controller-based status bar appearance (Key)并把Value 设置成No