更新时间:2023-10-05 09:44:10
您应该看一看在iOS7 + MultipeerConnectivity框架,允许附近的设备以彼此之间的沟通。这是很容易通过这个框架,裹成的NSData code>变量从一个设备发送消息到(一)其他设备(S)。
You should have a look at the iOS7+ MultipeerConnectivity Framework, which allows nearby devices to communicate amongst themselves. This is easy to send message from one device to (an)other device(s) through this framework, wrapped into a NSData
variable.
此框架是很容易成立,但不要犹豫,看看的 GitHub上的搜索结果。
This framework is really easy to set up, but do not hesitate to have a look at GitHub search results.