I'm developing an application for iOS and i need to be able to detect when an app really closes and not when he go to background..
I already try to catch the signal SIGKILL with signal function but signal handler never has been called.. I'm using push notifications and i have to register the device in the server for the server send notifications to him when application starts (and that its possible) but i have to unregister the device when the device quit the application and not when the device have the application in background..What i can do for doing this?
Regards