在pList文件中, 首先设置key:Status bar is initially hidden 为YES 然后设置key:View controller-based status bar appearance 为NO 可以实现全局隐藏状态栏了