iOS 通知消息。v3.1.0极光版本
使用3.1.0版本极光推送。 通知消息 ,非自定义消息 在appdelegate下
- (void)jpushNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(NSInteger))completionHandler;
- (void)jpushNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler
这两个方法中,如何获取到Extras
使用 NSString *customizeField1 = [userInfo valueForKey:@"customizeExtras"]; 无效。