Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you hide the status bar for SpriteKit games? [duplicate]

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?

like image 412
doublea Avatar asked Dec 05 '22 08:12

doublea


1 Answers

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

in the view controller:

- (BOOL)prefersStatusBarHidden {
  return YES;
}
like image 103
doublea Avatar answered Dec 27 '22 10:12

doublea