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?
+3
A:
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.)
zpasternack
2010-07-26 06:54:09