uiwebview - Apple Push Notification - View Button Action -


I have some problems with my push notifications. I can send them well in my registered devices. .

My question is: after clicking on the View button, app is starting. Moment of no content

How can I add content here? For example: My push is about Notification News XYZ - then after clicking VIEW I should get more information about News XYZ

So I think I should get news from my website. Along with the identity card, I am deployed in my favor. But how to implement it in the app?

I mean every new push message, it should be shown in New News.

In addition to this, it is possible to read all previous news items in a list, when the news is coming back from number 1.

Do you understand what I mean?

I have no real idea ... It would be nice if you could show me the code about an example.

Thank you.

This method invokes once you tap on the View button on push notification,

  - (zero) Application: (UIApplication *) App Receiver Notification: (NSDictionary *) userInfo {if (application.applicationState == UIApplicationStateInactive) // // Application came from background // You can request // Your Payload is local value for UILLocal notifications. * Localization = (UILLocal Notification *) [userInfo objectForKey: @ "APS"]; } And if (application.applicationState == UIApplicationStateActive) {// application is in the foreground}}    

Comments