SDL Wiki


THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!


A hint that specifies a variable controlling whether the idle timer is disabled on iOS.



enable idle timer


disable idle timer


By default the idle timer is enabled.


When an iOS application does not receive touches for some time, the screen is dimmed automatically. For games where the accelerometer is the only input this is problematic. This functionality can be disabled by setting this hint.

As of SDL 2.0.4, SDL_EnableScreenSaver() and SDL_DisableScreenSaver() accomplish the same thing on iOS. They should be preferred over this hint.

CategoryDefine, CategoryHints, CategoryDraft

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.