Disabling auto-lock on iPhone with Pythonista
-
Hi,
Does anyone have a full script for disabling the Auto-lock timer function (in Settings/Display & Brightness) on iPhone?My experience wuth Pythinista is limited. I have tried the following but with no success (settings remains unchanged):
#Stop Autolock
import console
console.set_idle_timer_disabled(True)
-
You cannot change the settings app setting from pythonista.
The function disables the idle timer for pythonista only (and only for this launch) so that your script will not be interrupted by going to sleep.
-
Thanks JonB,
Get it. I guess I will have to look for a URL solution then...