set prefersStatusBarHidden to true

To hide status bar in iOS7