Hypnos Active Member Licensed User Longtime User Aug 2, 2016 #1 Does anyone know how can I prevent the phone go to sleep (screen off) in B4I when my application is running in foreground? I found this post in google but don't know whether I can be use inline objective code to implement it in B4I: http://stackoverflow.com/questions/22164936/ios-app-prevents-device-from-sleep-mode Thank you! Last edited: Aug 2, 2016
Does anyone know how can I prevent the phone go to sleep (screen off) in B4I when my application is running in foreground? I found this post in google but don't know whether I can be use inline objective code to implement it in B4I: http://stackoverflow.com/questions/22164936/ios-app-prevents-device-from-sleep-mode Thank you!
Erel B4X founder Staff member Licensed User Longtime User Aug 2, 2016 #2 B4X: App.IdleTimerDisabled = True Upvote 0