After the app is closed by the user, if there are any notifications from the server, these are shown in the notification banner. Now, is there any way to read all these unread notifications when the user launches the app later (other than reading new data from the server again)?
Is there any way to read all notifications from notification banner using Swift language?
AFAIK There is no way to read the notifications that are stored in the notification center.
See the following for more details
http://stackoverflow.com/questions/27404267/is-it-possible-to-read-all-push-notification-in-ios
I haven't seen any updates that this has changed either. You only get the userInfo that is passed in for the notification that you click on.
Hope this helps.
DT
Thanks David. I wish Apple provided an easy way to get this info, without having to sync everything again from the server.
Your welcome. Feel free to close this question as answered.