Forum Archive

Lockscreen with pythonista

yas

I am creating a timer after the timer runs out I want to lock the screen .How do I do that?

ellie_ff1493

I don’t think you can, apple are quite restrictive with what you can do when it comes to stuff like this.

You can enable/disable the default lock timer I think

yas

Thanks ,I used Auto-Lock in settings to 30-Seconds and used

console.set_idle_timer_disabled(True)

Untill the timer runs out and changed the flag to False.