Receive all push notifications received since the last time the app was opened.
2 answers
from ios 10.x we can receive pending and delivered notification information using UNUserNotificationCenter
you are with a list of app notifications that are still displayed in the Notification Center using the following function
func getDeliveredNotifications (completeHandler: @escaping ([UNNotification]) → Void)
below links for more details
0
source to share