且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

推送通知 - 后台进程 - iPhone

更新时间:2023-02-27 08:43:41

排序背景处理你希望做的是不可能的推送通知。

The sort of background processing you're looking to do is not possible with push notification.

推送通知,您可以通知一些用户。当用户接收的Twitter的直接消息的例子是Twitter客户端发送一个通知。

Push notification allows you to notify the user of something. An example would be a Twitter client that sends a notification when the user receives a direct message on Twitter.

推送通知无法应对的事情发生在iPhone时,应用程序没有运行。相反,它取决于你具有确定何时发送通知,然后发送一个。服务器

Push notification can not react to things happening on the iPhone when the app is not running. Instead, it depends on you having a server that determines when to send a notification and then sends one.

我没有看到你的应用程序需要任何后台处理。如果存储用户的初始位置,下一次应用程序加载,你可以得到自己的位置,并计算两者之间的距离。如果你正在寻找的路线的旅行,你的运气,除非你的让与AT&安培的交易; t等Loopt的只是做

I'm not seeing any need for background processing in your application. If you store the user's initial location, the next time the app loads you can get their location and calculate the distance between the two. If you're looking for the route travelled, you're out of luck unless you make a deal with AT&T like Loopt just did.