Hello everyone,
Can someone help me understand how the following code works?
let params = NWParameters(tls: tlsOptions, tcp: tcpOptions)
params.requiredInterfaceType = .cellular
connection = NWConnection(to: connectionHostPort, using: params)
Does this configuration guarantee that all network calls made using the connection will always use cellular data? What happens if both WiFi and cellular are connected simultaneously? Is there any underlying UNIX library which can confirm this?
TIA
arup[dot]s[at]icloud[dot]com