UNNotificationServiceExtension didRecieve 未调用

问题描述

我在 apns 负载中添加了 mutable-content: 1。还检查了部署目标。我仍然没有在 didRecieve 方法中接到电话。 我正在使用 XCode 12

注意:UNNotificationContentExtension 正在工作,但没有服务

解决方法

确保在应用程序启动选项方法中将委托方法设置为 self。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...