I created one cocos2d
game. iPhone light is off as per its setting.
My question is :- Is that possible to set iPhone light is keep on while my game is on running mode.
Or its by default take iPhone setting.
I created one cocos2d
game. iPhone light is off as per its setting.
My question is :- Is that possible to set iPhone light is keep on while my game is on running mode.
Or its by default take iPhone setting.
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
This is not recommended as it will drain battery