I want to capture when one app is closed from springboard to make one logout. But the applicationWillTerminate method doesn’t work.
Does anyone kwon anything about it?
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.
I believe, you should go through following methods once.
The code that you placed in
applicationWillTerminate, put it in above mentioned methods..Try to put your code in one of the method & check your logic works or not.
Edit :
you question specifies that, you want to detect the application force quit event – which is not possible. ( sorry but not in my hands )
The way we delete application from minimized states by double tapping – It actually means, we are force-quiting those application & That will not trigger any of our application methods as our application process is going to be killed.