我可以根据iPhone的位置(不运行应用程序)在iPhone上发送推送通知吗?

问题描述:

我从客户端有这个要求,根据我们需要发送推送通知的iPhone的位置。现在,如果没有应用程序在后台运行,我们如何才能找到iPhone的位置?无论如何我们可以做到这一点吗?

I have this requirement from client where depending on the location of the iPhone we need to send push notification. Now how can we find location of the iPhone without the app running in background? Is there anyway we can achieve this?

对于最近发布的iPhone OS 4,我相信现在可以实现。请参阅 http://developer.apple.com/technologies/iphone/whats-new .html

With the recently-released iPhone OS 4, I believe this is now possible. See http://developer.apple.com/technologies/iphone/whats-new.html.

编辑:更有用的信息此处。请参阅标题为启动重要更改位置服务的部分

More useful info here. See the section entitled "Starting the Significant-Change Location Service"