在后台启动应用程序

发布于 2024-12-29 02:23:16 字数 98 浏览 2 评论 0原文

是否可以在后台运行/启动应用程序。我的意思是不让用户看到它? 例如,通过接收本地/推送通知,即使用户没有打开(带到前台)应用程序,也会以某种方式在后台打开它,对用户“隐藏”? 问候。

Is that possible to run/launch application in background. I mean not making visible it to user?
For example by receiving local/push notification, even if user doesn't open(brings to foreground) an application, somehow open it in background, "hidden" for user?
Regards.

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

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

发布评论

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

评论(2

靖瑶 2025-01-05 02:23:16

简短的回答:不,您可以在 iPhone 上的后台运行程序,例如:音频播放器、导航或 VoIP 客户端。

此外,如果您的应用程序没有进入前台,则无法接收任何通知(本地或推送)。

Short answer no, you can run programs in background on the iPhone like: audio players, navigation or voip clients.

Also if you app does not come to the forenground there is no way to receive any notifications(local or push).

甜尕妞 2025-01-05 02:23:16

唯一允许执行此操作的应用程序是 iOS 5 中的 Newsstand 应用程序。

The only applications that are allowed to do this are Newsstand applications in iOS 5.

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