My iPhone opened cellular, and connected to an AP provided by a smart-device with wifi at the same time. When my app send data through UDP to the smart-device, how iOS determine to send data through wifi or cellular?
How iOS determine to send data through wifi or cellular?
For a low level connection like NWConnection, take a look at the parameter property for requiredInterface.
Yep. I have a lot more info about this in the various posts hanging off Extra-ordinary Networking.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"