I want my app to stop locating the user when the app is open, but the phone is locked, to cut down on battery usage. What delegate method is called when the user locks the phone while an app is still running and active?
Share
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.
I don’t know if there’s a special one just for locking, but applicationWillResignActive: is definitely called when the phone is locked (or receives a call, etc.)