title: Is there a way to toggle wifi on and off programmatically in iOS?
body: <p>I done it for Bluetooth using the code on this link:
  <a href="https://stackoverflow.com/questions/4518406/is-there-a-way-to-toggle-bluetooth-and-or-wifi-on-and-off-programmatically-in-ios">Is there a way to toggle bluetooth and/or wifi on and off programmatically in iOS?</a></p>
  
  <p>But I couldn't figure out how to do the same for Wifi. How do you switch the Wifi on/off? Is it possible?</p>