Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在观察 gmail iOS 应用程序的行为。当我收到电子邮件时,应用程序会显示通知。我关闭了应用程序,它没有运行。
但是当我在电脑上阅读电子邮件时,通知会立即在 iPhone 上消失。如何在我的应用程序中重现此行为?如何远程清除通知?
谢谢
每当 Gmail 服务器检测到邮件已被读取时,就会发送标记编号为 0 的静默推送通知以清除标记值。
我希望 Facebook 也能做到这一点。