If you want to hide status bar through whole app, just add code below in the "application:didFinishLaunchingWithOptions:" method inside app's delegate file
如果要再App中隱藏狀態列,把下面的 code 加入 App Delegate 檔案的 "application:didFinishLaunchingWithOptions:" method 中