关闭 iPhone 操作系统的通知
我正在开发一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果 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;