Hide StatusBar through program - Swift/Xcode 6/IOS 8

Just a small snippet to hide the Status Bar on your UIViewController.
Just add the following override function in your UIViewController. It should override the Status Bar setting.
//Hide the status bar

override func prefersStatusBarHidden() -> Bool {

return true;
}
https://www.youtube.com/watch?v=Eb157lgN3c8     Swift 3.0
override var prefersStatusBarHidden: Bool {
    get {
        return true
    }
}