推送通知 - 后台进程 - iPhone [英] push notification - background process - iPhone

查看:186
本文介绍了推送通知 - 后台进程 - iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚才听到 - 推送通知有可能在iPhone

I have just heard that - " push notification " is possible in iPhone

我需要以下详细信息。


  • 什么是推送通知?

  • 它是如何工作?

  • 这是什么要求?

  • 任何样品code链路可用?

  • 的任何文档的链接(如果可用)?

  • 从计算器大师一些指导/提示有关开发上述要求。

在此先感谢分享与家人#1和放你的知识;我的。

Thanks in advance for sharing your knowledge with Stackoverflow family & me.

推荐答案

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

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.

这篇关于推送通知 - 后台进程 - iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆