ios - 从通知中心删除重复的远程通知

标签 ios swift push-notification

我在应用中使用 Google Cloud Messaging 发送通知,并且有多种类型的通知。有没有办法在通知中心只显示每种类型的最后一条通知而不重复?

最佳答案

不可以,应用程序无法访问或控制通知中心的内容。

关于ios - 从通知中心删除重复的远程通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37820014/

相关文章:

ios - 在 iOS 中创建自定义声音和振动?

javascript - 提取 UIATableCell 值

ios - 页面指​​示器快速不同步

ios - 检查 Apple LiveText 是否可用?

swift - 一页中的两个collectionView具有不同的数据

android - 向特定用户android发送通知

ios - 如何触发 Collection View 的 didSelectItemAtIndexPath : on tap while it's scrolling?

ios - 快速 - UITableview 在滚动时变得不稳定

ios - 开始使用 iOS 推送通知

android - 在本地网络中推送通知