title: What is the iOS API for scanning available wi-fi networks
body: <p>That's the question, but here's the long version: I'm working on a project that needs to mimic the connection workflow of the Belkin Wemo. The Wemo is a physical switch that can be controlled from an iOS app. </p>
  
  <p><img src="https://i.stack.imgur.com/Ly0mP.jpg" alt="Belkin Wemo and app"></p>
  
  <p>This is how the setup works:</p>
  
  <ol>
  <li>The Wemo acts as a wifi router, it broadcasts an SSID, and you
  choose it from the list of available networks in your iPhone
  settings.</li>
  <li>You then choose your home wi-fi network <em>from within the wemo app</em>, given a list of available networks.
  and enter your network password. Presumably so the Wemo device can
  connect to your wi-fi router.</li>
  <li>The Wemo app then announces it is connecting, and then that it is
  setting up remote access.</li>
  </ol>
  
  <p>Which brings me to: How does the Wemo app check for available networks -- aka, Is there an iOS API for scanning available networks, displaying them and working with them?</p>