I wrote a game on my mac with Xcode using SDL and OpenGL, and whether
it is fullscreen or windowed my mac’s screensaver seems to get
disabled. (I am not running my program through Xcode, by the way,
which I understand can disable the screensaver.) Can someone please
tell me how I can make my program not disable my screensaver while it
is running? Is this a known bug in SDL, or is there someone I am
supposed to do?
I tried using the following line of code and it didn’t work.
[UIApplication sharedApplication] setIdleTimerDisabled:NO;
-Trevor Agnitti