当应用程序未运行时如何更新应用程序徽章编号?

发布于 2024-09-06 16:40:48 字数 141 浏览 3 评论 0原文

我已经在我的应用程序中实现了 APNS。

它就像一个魅力。

只有一个问题,如果连续两个,我不知道如何更新徽章号码 通知来了,应用程序尚未启动。

假设第一次是 1 然后是 2,就像邮件应用程序一样。

谢谢

I have implemented APNS in my application .

It works like a charm .

There is just one problem that i don't know how to update the badge number if two subsequent
notifications come and the application is not yet launched .

suppose first time is 1 then 2 just like the mail application .

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

翻了热茶 2024-09-13 16:40:48

即使 iOS 4 中的“多任务”功能也不支持此功能。

This is not supported, not even with the "multitasking" feature in iOS 4.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文