Refactoring and example on how to hide the status bar on iOS 7.