iOS 前台通知处理
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
{
[JPUSHService handleRemoteNotification:userInfo];
}
第一次安装的app, 接收前台通知的时候为什么这个方法不走,而后台来消息的时候会走???