ios - Add my Push notification in Notification area -



I have successfully received my push notification in both background and foreground but my problem occurs when my application is active state / Foreground and push notification has arrived, then I show this confirmation message on alert view using the didReiveiveRemoteNotification method,

My alert view has two buttons 1) After 2) Okay.

If I press 1 "later" button then I want to add this notification notification message in the information area, so after some time the user can view and tap that specific push notification and record that The push notifications will be removed from the Notification Area of ​​the notification.

It is not possible that there is no API to access the notification of the IOS.

Alternate You can choose what option has local notification when the user subsequently selected local notification for that thing when the user continues your app Add local notifications when users leave your app.

Better Approach The most common approach to this problem is the notification screen in the app. There is a screen in your application which lists the notification received so that users can check in your app. I suggest you go with it. Because this is the most common and obvious idea.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -