views:

190

answers:

1

hi friends,

I want to set auto lock my iphone/ipad/ipod screen programaticaly after some time delay. Can any one tell me how to do the same?

if any one is having any suggestion please let me know.

thanks in advance.

A: 

"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.....

iPhone Fun
`idleTimerDisabled` *disables* auto locking, quite the reverse of what you described in the question.
KennyTM
friend, making the timer value true or false after some time delays I can set the auto-Lock 'lock' or 'unlock' as per the selection of time.
iPhone Fun
@Viral: OK. But notice that the auto-lock time depends on the user.
KennyTM