iPhone : how to auto connect to a known wifi SSID?

Jerome picture Jerome · Sep 27, 2012 · Viewed 12k times · Source

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 ?

Answer

ilmiacs picture ilmiacs · Oct 9, 2012

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