Isn’t possible to retrieve auto lock value?
Or anyone know how to modify the auto lock time like those existing alarm application?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it. you need to implement the following methods
This gets called when the phone is locked. In this method I would store the time and then impliment this method on the app delegate.
This function will be called when unlocking the phone. Use the time you stored when locking the time to determine how long it has been.
You can use this two methods for custom implementation of auto lock interval.