tags:

views:

623

answers:

2

Hi there, I wonder how can I detect and make a connection to a Wifi network programmatically just like the WifiFoFum app does in Apple Store. This app has been approved and recently updated so there must be a legal way of doing it. If anybody knows any way of doing it please post a code snippet... even if it is an undocumented API call and would probably be rejected by Apple. I just need to know if it can be done and how. Thanks

+1  A: 

http://developer.apple.com/iphone/library/samplecode/Reachability/ will be best place to start with. Have a look at the sample provided by Apple.

Jim
Hello and Thanks,i have already checked that example. It just allows you to request Wifi connect "level" or not, and to check if you are Wifi connected. Not much more. I need to check available networks and to connect to one of those networks, both things programmatically.Thanks
icordoba
A: 

I was looking for the same thing but sadly those features are only available in private APIs which Apple does not allow anymore at all! So there is no official way of finding or connecting to networks!

vinzenzweber