Search code examples
iosobjective-ciphoneipadipod-touch

Set Autolock programmatically


How to set auto lock my iphone/ipad/ipod screen programmatically after some time delay?


Solution

  • "idleTimerDisabled" is the answer for the same, put it in the time and make iphone lock or unlock as per the requirements. Yes I got it.....