Use cellular while on wifi captive network

How can the user still use safari, etc on cellular while connected to an access point (camera)?

im using NEHotspotConfiguration to connect to wifi access point
camera has wifi without internet access

thank you

How can the user still use safari, etc on cellular while connected to
an access point (camera)?

Possibly.

When you manually join a Wi-Fi network that doesn’t have access to the wider Internet, iOS will typically leave the default route set to WWAN and thus apps that doen’t explicitly target the Wi-Fi will continue to run over WWAN.

However, there’s lots of moving parts here and thus many places where things can fail. For example, it’s not uncommon for an accessory to publish a Wi-Fi network that pretends to provide access to the wider Internet. Such fakery can cause iOS to switch the default route to the accessory’s network, and that prevents normal apps from running over WWAN. Except that modern versions of iOS do theri best to detect this and route those app’s connections over WWAN.

Thus, it’s quite complex and the only way to be sure of the behaviour is to test a specific iOS version against a specific accessory’s network.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
@eskimo So there's nothing i can do on swift code correct?
it has to do with the wifi camera device?
Honestly, it’s hard to say that absolutely. To know for sure you’d have to dig into the details of exactly how the accessory publishes its network.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Use cellular while on wifi captive network
 
 
Q