如何在iphone应用程序中编写后台服务? [英] How to write a background service in iphone application?

查看:83
本文介绍了如何在iphone应用程序中编写后台服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在iphone中编写后台服务,它将从实时服务器发送和接收UDP消息。在谷歌搜索后,我无法从后台服务编写代码。

I want to write a background service in iphone which will send and receive UDP messages from a live server. after having search on google I am not able to write code from background service. ?

就像我们在Android中扩展服务一样..

like as we can extends Service in Android ..

我找不到任何可以帮助我编写服务代码的链接。

I could not find any link which could help me in writing code for service.

后台服务的任何教程或链接

any tutorial or link for background service

推荐答案

对不起它看起来喜欢:

iPhone OS不允许你添加后台进程。

"iPhone OS doesn't allow you to add background processes."

来自:

如何在iphone sdk 3.0中实现后台任务的守护进程?

这篇关于如何在iphone应用程序中编写后台服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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