The server will push a notification when the user start to follow or nego.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
when the user tap on the notification, this block will be executed, and I will get the notification info.
Currently I'm facing a problem, when there are more than 1 notification being pushed, when the user tap on the first one, then the second one won't be executed. Sometime user don't tap on the notification item in notification centre, but open the app directly, then - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
totally not executed.
Is there any way to get ALL notifications so that I can store the info into NSUserDefaults
?