Hello all, I have a new game out in the app store and i ran into the problem that my screen dims and shuts off which i didn't realize before putting it in the app store.
So i need to make sure my code works with the iOS guidelines.
I know I have to use
SleepTimeout.Neversleep
but i am also told that I have to use
SleepTimeout.SystemSetting
to work with the iOS guidelines. So basically I need to use the SleepTimeout.SystemSetting while i am not in gameplay. and then use SleepTimeout.Neversleep when I enter gameplay.
Can someone help me figure out how to do this?
↧