覆盖已经显示的本地通知

Override an already displayed Local Notification

如何覆盖已显示的本地通知?

我只想要一个特定事件的通知,其中值不时发生变化,当事件发生变化时。

目前总是会创建一个新通知。

如果文档是正确的,您将无法更改已经安排好的通知。 -scheduleLocalNotification: 的文档状态:

[…] Because the operating system copies notification, you may release it once you have scheduled it. The notification object is copied by the system and not accessible via any (public) method. So there's no other solution than canceling the notification.

引用link