Not sure what does compatible with NWConnectionGroup
mean?
NWConnectionGroup
is a new Network framework API for multicast. For more on this, see it’s documentation. As shown in the docs, NWConnectionGroup
is supported on iOS 14 and later. So, if your deployment target is iOS 14 or later, it would be compatible with NWConnectionGroup
.
My deployment target now is set to iOS 11 and later.
And that confirms that it’s not )-:
Have you thought about raising your deployment target? Most iOS devices support version iOS NOW and iOS NOW - 1, which currently means iOS 15 and iOS 14. If you could raise your deployment target to iOS 14 then NWConnectionGroup
becomes an option, which would be good because it’s a much nicer API.
If not, your only option for multicast is BSD Sockets and that API has lots of pitfalls, especially when it comes to multicast.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"