0

I have kind of to-do local notifications that are fired OK.

So for example if 2 notifications have fired the badge number goes to 2.

Now I like to handle these notifictaions also when the user just starts the app directly - not via the notifictaion center.

So the badge number would be 2, the user clicks on the app icon to start the app and the app should know which 2 notifications are in the notifictaion center.

While I know how to get all scheduled notifications BEFORE they fire - is there a way to access all the notifications that are present in the notification center since they HAVE FIRED.

Since the user could also clear the notifications from the notification center directly, there is really no way to keep track of the shown notifications in the notification center from within the app.

Thanks very much!

user387184
  • 10,953
  • 12
  • 77
  • 147
  • 1
    These are remote notifications? I don't think your app has a way of knowing about them unless the user taps on them. – onnoweb Aug 16 '12 at 19:30
  • these are local notifications - but it doesn't matter, since I would like to access the notifications, no matter where they came from idealy – user387184 Aug 16 '12 at 19:32
  • iOS doesn't provide support for that. The notifications are notifications to the user not to the app (at least not until the user acts on them). – onnoweb Aug 16 '12 at 19:34
  • ok, thanks for that - if you could put this as an answer I would like to accept it.... – user387184 Aug 16 '12 at 19:38

1 Answers1

1

iOS doesn't provide support for applications to query what notifications are in the Notification Center. The notifications are notifications to the user not to the app (at least not until the user acts on them).

onnoweb
  • 3,038
  • 22
  • 29