在-Info.plist檔案中添加兩個屬性Status bar is initially hidden和View controller-based status bar appearance,分别設定為YES和NO即可,如圖所示: IOS7(Xcode5)中隐藏狀态欄 問題解決!