Search code examples
iosobjective-cfullscreenstatusbarsprite-kit

How do you hide the status bar for SpriteKit games?


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?


Solution

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

    in the view controller:

    - (BOOL)prefersStatusBarHidden {
      return YES;
    }