关闭 iPhone 操作系统的通知

发布于 2024-10-09 22:25:04 字数 99 浏览 0 评论 0原文

我正在开发一个 iPhone 应用程序,每当用户关闭 iPhone 或由于电池电量不足 iPhone 操作系统自行关闭时,我希望收到通知。

任何私有 API 也适用于我

I am developing an iPhone app in which I would like to get a notification whenever a user Turn off the iPhone or due to low battery iPhone OS turns off itself.

Any Private API will also work for me

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

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

发布评论

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

评论(1

未蓝澄海的烟 2024-10-16 22:25:04

如果 iOS 没有信号或没有信号
如果苹果服务器无法发送推送通知,它会将其保存在队列中。唯一的问题是队列的长度== 1;

In case that the iOS is of or out of signal
If the apple server could not deliver the push notification it will save it in queue. The only problem is that the queue has length == 1;

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