I’ve a simple News application consisted of a UINavigationController , UITableViewController and UIViewController , When the app launches it loads the news from the web and then when click on the table cell it goes to the other view to show the full article , I ‘ve added push notifications But I want to handle it now so when the user clicks on the notification the View with the article appears and if the user clicked the back button it goes to the News List Table , Can Anyone help with this ?
I’ve a simple News application consisted of a UINavigationController , UITableViewController and UIViewController ,
Share
in application:didFinishLaunchingWithOptions: you should take a look at what’s in the launchOptions dictionary. Something like this:
Don’t forget to implement:
in case the push notification comes while your app is running.
In your handlePushNotification: method, you should create your view stack manually, likely with animated: NO.