4

使用cancelAllLocalNotifications应该基本cancel the delivery of all scheduled local notifications。但它也会继续清除历史记录,因此通知中心不会显示最近 1/5/10 的最近项目/通知。

我不确定这是一个错误还是故意的?

也许我应该cancelLocalNotification:只取消预定的本地通知(预定在未来触发)。但这会对64本地通知限制产生影响吗?

4

1 回答 1

2

我已将此作为错误报告给 Apple。也许是故意的,也许不是。我最终使用cancelLocalNotification:而不是cancelAllLocalNotifications.

于 2011-11-24T07:55:49.277 回答