什么时候应该删除 NSUserNotificationCenter 中的通知?

When should Notifications in the NSUserNotificationCenter be removed?

我想问一下在 NSUserNotificationCenter 中使用 removeAllDeliveredNotifications() 的最佳编程实践。如果 NSUserNotificationCenter 在一段时间后自动删除已发送的通知,或者开发人员是否负责删除通知,我无法在任何文档中找到。如果开发人员负责,什么时候是删除通知的最佳时间或最佳位置,是否应该立即删除所有已发送的通知,或者是否有建议的时间,之后应删除已发送的通知?

根据上面评论中的 Truth Potato(如果他将其发布为答案,我会接受他的回答),"There aren't any, its whatever makes most sense for your app from the perspective of the user. As to when or if they should be removed, that is a matter of opinion and whats good for one app may not be for another."