后台接到通知 代理不走
ios10 。当应用出在后台的时候发送通知,手机也收到推送了(弹出推送框),但是下面这两个方法都不走, 没办法推送消息
(void)jpushNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler;
(void)jpushNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(NSInteger))completionHandler;