iPhone 应用程序如何在待机状态下生成通知?

发布于 2024-12-23 13:13:32 字数 297 浏览 2 评论 0原文

我有点困惑。
它在很多地方都说,在 IOS 上,如果手机进入待机模式,除非您使用推送通知,否则您将无法使您的应用程序运行。

我确实遇到过一些在 iPhone 4 中成功实现此目的的应用程序 (如ihandy闹钟http://www.ihandysoft.com/alarm_clock.html

)当我处于飞行模式时,甚至在待机时发出嘟嘟声!

有人可以纠正我对这个问题的想法吗?

I'm a bit confused.
It says on many places, that on IOS you can't make your app work if the phone enters standby mode unless you use push notifications.

I did encounter some apps that do succeed this in IPhone 4
(such as ihandy alarm clock http://www.ihandysoft.com/alarm_clock.html)

It even beeped on standby when I was in airplane mode!

Can someone straighten my thought regarding this issue?

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

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

发布评论

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

评论(2

女皇必胜 2024-12-30 13:13:32

iOS 中有两种通知:推送通知和本地通知。
在您的情况下,应用程序在飞行模式打开时发出蜂鸣声,它可能使用本地通知而不是推送通知。

There are two kinds of notification in iOS: push notification and local notification.
In your case, the app beeps while airplane mode is on, it might use local notification rather than push notification.

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