iphone 中提醒用户的后台进程?
我正在开发一个基于 iphone uiwebview 的应用程序,通过从登录屏幕获取用户凭据来加载 Web 应用程序 url,因为我有用户名和密码,需要使用 Web 服务与另一端的服务器进行通信,我想要一个 在用户登录应用程序后向用户发出一些数据警报。
但是,即使他关闭了我的申请,我也能发出该警报吗?如果那样的话,请建议我该怎么做?
我的意思是我可以运行任何后台服务来允许我通过 Web 服务调用与某些服务器进行通信并提醒用户吗?
提前致谢......
I am developing a iphone uiwebview based application to load an web application url by getting the user credential from a login screen,as i have username and password which are required to communicate with the server on the other end with web services,i want to make an
alert with some data to the user once after he logged into application.
But can i able to give that alert even he closes my application if then please suggest me how to do so?
I mean can i run any background service that can allow me to communicate some server with webservice calls and alert the user?
Thanks in advance......
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我正确理解您的问题,您需要为您的应用程序实现推送通知服务。您看过苹果有关本地和推送通知的文档吗? http://developer.apple.com/ iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
或者在 iTunes 上观看有关它的 WWDC 视频。
If I understand your question right, you need to implement a push notification service for your app. Did you have a look at Apples documentation on local and push notifications? http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
Or have a look at thee WWDC Video about it on iTunes.