0

I want to delete all the UILocalNotifications when a user uninstalls/deletes the application.

Which delegates will be called when application is uninstalled? How can I remove all UILocalNotifications after deleting application?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Karthik
  • 21
  • 7
  • http://stackoverflow.com/questions/6911361/detect-ios-application-about-to-delete – Mohit Aug 09 '14 at 09:19
  • which notification there is Push notification, UILocalNotification, or UINotification Center – Nitin Gohel Aug 09 '14 at 09:26
  • 1
    iOS will delete the notifications when your app is deleted. You don't need to (and can't) do anything when your app is deleted – Paulw11 Aug 09 '14 at 10:17

2 Answers2

1
  1. There's no such delegates. The App itself can not detect its deletion.
  2. You don't need to remove local notifications by yourself. The system deletes them automatically while deleting the App.
Louis Zhu
  • 792
  • 5
  • 12
0

Mobile Device did not delete the notification even after i delete the application ,After deleting the application also notification get fire

Karthik
  • 21
  • 7