1

My app needs to know if a user deletes/clears the apps notifications from the notification center using the clear button.

Is there either away to detect when the user removes the notification from the notification center or grab an array of notification on the notification center?

totalitarian
  • 3,606
  • 6
  • 32
  • 55

1 Answers1

1

You (ie App) cannot interact with NotificationCenter, NotificationCenter interacts with the user. A user can choose not to receive any push-notifications.

http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html

nooitaf
  • 1,466
  • 11
  • 18
  • So it doesn't inform the app that a notification it created has been cleared? – totalitarian Dec 17 '12 at 20:01
  • 1
    No, it doesn't even tell you if a push-notification got received or not. It's fire and forget. How would it even tell your app anything if it's not running. – nooitaf Dec 18 '12 at 14:37