我是否需要删除传递的通知以不超过通知限制? -迅捷

问题描述

我的应用每周安排30条通知。由于限制为64,因此我一次只安排30个通知。因此,每周,我都会通过删除所有通知(使用center.removeAllPendingNotificationRequests()并重新启用它们来更新所有通知。我是否还需要致电center.removeAllDeliveredNotifications()删除以前发送的通知,以便不超过限制?还是传递的通知不计入限制?

解决方法

iOS限制了待处理列表的长度,这意味着与传递的通知无关。

但是我只能找到与此相关的deprecated docradar

相关问答

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