Screen doesn't lock while app is running.
Monkey Targets Forums/iOS/Screen doesn't lock while app is running.
| ||
Hello! I noticed all games don't prevent autolock. But my does. Is that something wrong with my code? Or is it a Monkey feature? |
| ||
You need to set the #IOS_ACCELEROMETER_ENABLED value to False. It set to True in the iOS target's CONFIG.MONKEY file. |
| ||
Thank you! Note: Screen also doesn't lock when you in debug mode and/or charging ) |