iPhone应用程序在后台 [英] iPhone app in the background
问题描述
有没有办法从关闭的iPhone应用程序启动声音或弹出消息。
简单地说就像接收短信
Is there any way to start sound or pop-up message from closed iPhone app. Simply like "receive SMS"
推荐答案
我不相信。 Apple声称没有第三方应用程序可以在后台运行(即使他们的一些应用程序这样做)。这就是为什么去年夏天有很多关于推送通知的原因(不幸的是,这已经不存在了) - 这将允许应用程序从服务器发送一些数据,然后适当地响应它。
I don't believe so. Apple has stated that no third party apps can run in the background (even though some of their apps do this). This is why there was a big deal about "push notifications" last summer (that has since gone no where, unfortunately) - this would allow an app to be sent some data from a server, and then appropriately respond to it.
如果您为越狱的iPhone编写应用程序,您可能能够完成此任务,但只有那些已经越狱手机的用户才能安装和使用您的应用程序。
You might be able to accomplish this if you write an app for a jailbroken iPhone, but then only those users who have jailbroken their phone would be able to install and use your app.
这篇关于iPhone应用程序在后台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!