How do you hide the status bar for SpriteKit games?

fullscreen, ios, objective-c, sprite-kit, statusbar

Solution

...and just like that... I found it...

in the view controller:

- (BOOL)prefersStatusBarHidden {
  return YES;
}

Problem

I'm writing a game for iOS using SpriteKit. I want to game to be full-screen, no status bar, etc. How do I hide the status bar?

Original source

Related problems