WiFi上的NSNetService而不是蓝牙 [英] NSNetService on WiFi instead of bluetooth
本文介绍了WiFi上的NSNetService而不是蓝牙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有2个iOS设备和一个启动或连接到NSNetService的应用程序。
I have 2 iOS devices and an application which starts or connects to a NSNetService.
当两个设备都启用了蓝牙时,数据流将自动完成蓝牙接口。
When both devices have have bluetooth turned on the data stream will automatically be done over the bluetooth interface.
我不希望这样,我希望两台设备通过WiFi进行通信。有没有办法强制NSNetService通过WiFi进行通信?
I do not want that, i want both devices to communicate over the WiFi. Is there a way to force a NSNetService to communicate over the WiFi?
谢谢
推荐答案
我认为没有,我没有看过文档,但我知道大量游戏建议禁用蓝牙并确保为本地多人游戏启用WiFi。
I don't think there is, I haven't looked into the docs, but I know a ton of games recommend disabling Bluetooth and ensuring WiFi is enabled for local multiplayer.
这篇关于WiFi上的NSNetService而不是蓝牙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文