Forum Discussion

se7ent7's avatar
se7ent7
Occasional Contributor
11 years ago

How to turn off wifi/connectivity for an iOS app

Since TetsComplete doesn't currently seem to support an iOS equivalent to the Android module's Mobile.Device.Connections.WiFiEnabled - does anyone have any good suggestions for shutting down or disabling an iOS device's WiFi?

 

My best plan so far is using a Samsung mobile device to create a wifi hotspot for the iOS device (which I can then turn off from TestComplete somehow via the Android adb bridge hopefully).

Anyone have a better idea?

 

Thanks,

Gerhardt