I want to show a notification (local OR remote) when Application is terminated or killed from background.
There is an App on AppStore which does the same thing. But, I don't know I can provide link to that App here or not.
I tried creating a local notification and setting up it in:
func applicationWillTerminate(_ application: UIApplication) {
}
But, this function does not get called, as mentioned in THIS & THIS links.
Is there any way I can accomplish this? Can I provide reference App link here?
Edit
This question if flagged as duplicate of the of some other question which doesn't solve my issue.
Reference App -- This is what I am trying to achieve. Kill the app from background and you will get the notification.