Connecting a Wireless Network programatically in iPhone
<p>I have a requirement where the client needs to automatically connect to a active wireless network based on his location.</p>

<p>The requirement is such that whenever a hotspot is available (in the absence of the user’s home network), the client will automatically connect to a wireless network present in that location and everything in that app(Weather Information etc) should work in the presence of this active internet connection
While in presence of a secure Home network ( the user’s own hub), it should automatically demote the network selected previously from the wireless networks list, thus enabling the device to automatically connect to the secure Home network</p>

<p>Is there any api in iPhone SDK where we can implement this functionality?If yes, are these api private or public?Can we have access to these api for development?</p>
