Bonjour在背景中? [英] Bonjour in the Background?

查看:155
本文介绍了Bonjour在背景中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,Pasteboard是iOS的剪贴板应用程序,可以在后台运行Bonjour服务。我不知道他们如何实现,所以我在互联网上搜索,然后发现它在后台播放一个无声的声音文件。但现在不是真的,因为我看不到iPod管理屏幕上的应用程序图标。他们怎么能这样做?有任何想法吗?先谢谢。

I noticed that Pasteboard, a clipboard app for iOS, can run Bonjour service in the background. I've no idea how they implement that, so I searched on the Internet and then found that it plays a silent sound file when in background. But it is not true now, because I can't see the app icon on the iPod management screen. How could they do that? Any ideas? Thank you in advance.

Kai。

推荐答案

您可以在理论上将您的应用程序标记为

You could, in theory, mark your application as needing to run in the background continuously (for VoIP, or mapping). I've done something this in a proof of concept and it worked great.

或者,本文档似乎记录了如何在后台进行网络连接。

Alternatively, this document seems to document how to do networking in the background.

这篇关于Bonjour在背景中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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