【发布时间】:2020-08-17 03:16:08
【问题描述】:
我的应用每周安排 30 条通知。我一次只安排 30 个,因为限制为 64 个。因此,每周我都会通过删除它们(使用 center.removeAllPendingNotificationRequests())并重新触发它们来更新所有通知。我是否还需要致电center.removeAllDeliveredNotifications() 删除之前发送的通知,以免超过限制?还是发送的通知不计入限制?
【问题讨论】:
标签: swift unusernotificationcenter