Closed gaoyong06 closed 4 years ago
正确的
override func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { let userInfo = response.notification.request.content.userInfo UmengAnalyticsPushFlutterIos.handleCustomMessagePush(userInfo) completionHandler() }
错误的:
override func userNotificationCenter(center: UNUserNotificationCenter, didReceiveNotificationResponse response: UNNotificationResponse, withCompletionHandler completionHandler: () -> Void){ let userInfo = response.notification.request.content.userInfo UmengAnalyticsPushFlutterIos.handleCustomMessagePush(userInfo) completionHandler() }
感谢!!!
正确的
错误的: