NSNetService on WiFi instead of bluetooth

主宰稳场 提交于 2019-12-19 10:46:34

问题


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.

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?

Thanks


回答1:


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.



来源:https://stackoverflow.com/questions/6650452/nsnetservice-on-wifi-instead-of-bluetooth

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!