Some of my Users use collector as a guide while driving. The latest version of collector [IOS v 18.1.0] turns off after about a minute (or whatever the iphones auto-lock time is set to). The older version (pre-aurora) would stay on as long as the app is open. It would be great to have this functionality again.
Objective-C:
[[UIApplication sharedApplication] setIdleTimerDisabled: YES];
Swift (legacy):
UIApplication.sharedApplication().idleTimerDisabled = true
Swift 3/4:
UIApplication.shared.isIdleTimerDisabled = true
Just need to add to the app code its a quick easy thing to do. It is actually illegal in Australia to touch a device whilst driving a motor vehicle so this is critical. Doug Morgenthaler Kory Kramer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.