I filed "bug" 41099437 for Network.framework …
Thanks. It’s definitely made it to the right place.
Are you saying that this is a fluke … ?
No. In iOS 11 we disabled peer-to-peer Bluetooth at the
NSNetService
level (and anything that’s layered on
NSNetService
, including Multipeer Connectivity). It has not been removed from the system, and thus is still accessible via
<dns_sd.h>
. However, my recommendation is that you not rely on this, and instead making the change to peer-to-peer Wi-Fi.
Most folks use
NSNetService
for this sort of thing, and this change will be transparent to them. If you’re using
<dns_sd.h>
it’s somewhat more complex. The tricky part relates to your listener. Listening on peer-to-peer Wi-Fi requires that you use one of two APIs:
Specifically, there is no way to set up a listener that supports peer-to-peer Wi-Fi using low-level APIs like BSD Sockets.
My users love this functionality: they walk up to the iPad, take photos with the photographer's pro setup, and instantly have the photos on their iPhones...
Right, and that scenario should work just fine over peer-to-peer Wi-Fi, which is the recommendation technology moving forward.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"