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

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
简短的回答:不,您可以在 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).
唯一允许执行此操作的应用程序是 iOS 5 中的 Newsstand 应用程序。
The only applications that are allowed to do this are Newsstand applications in iOS 5.