i have database in my app and i want to delete all information from database when user force quit from app. I looked this question Which Event When i close app in iOS? , but when the user click home button, app has force quit in applicationWillTerminate
.I don't want to close my app. I just want to catch close event in my app.
Sorry for my bad english. Thanks for advice and interest.