When my app is in minimized state and when that time push notification alert comes with two buttons close and view. I want to open particular screen in app when user click view button on alert.
When app is open state that time I can handle push notification by using below method
– (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
If any one knows how to handle push notification alert buttons when app is in minimized state please help me. Thanks in advance.
Yeah
When The App is brought into running state via Notifications..This method is fired
You can then retrieve the notification received from the
launchOptionsdictionary and open the appropriate screen.