I know it is possible to list the available Wifi networks on iPhone using the CaptiveNetwork API from official Apple SDK.
I was wondering if there is a way to auto connect to a specific SSID programmatically as long as I can find it in the list returned by CaptiveNetwork ?
If your device doesn't automatically join a captive Wi-Fi network, follow these steps: Tap Settings > Wi-Fi. Tap next to the network name. Make sure that Auto-Join is on.
When Airplane mode is turned on, your device is unable to connect to any network, including WiFi. You could turn the mode on accidentally, too. Toggling off Airplane mode should fix the problem immediately. Just go to Settings and turn Airplane mode off, then try connecting to your WiFi network.
Apple would not like you to do such things. Connecting to Wifi Stations is the responsibility of the user, so don't expect a public API. See e.g. here. Probably the makers of this app also would like to do it automatically.
Peter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With