title: iPhone Wi-Fi Manager SDK
body: <p>I'm attempting several methods trying to enable/disable Wi-Fi (toggle). Here are some things I am trying:</p>
  
  <pre><code>//Enable
  WiFiManagerClientEnable(WiFiManagerClientCreate(kCFAllocatorDefault, 0));
  //Disable
  WiFiManagerClientDisable(WiFiManagerClientCreate(kCFAllocatorDefault, 0));
  </code></pre>
  
  <p>-and-</p>
  
  <pre><code>//Enable
  WiFiManagerClientSetProperty(WiFiManagerClientCreate(kCFAllocatorDefault, 0), @"AllowEnable", kCFBooleanTrue);
  //Disable
  WiFiManagerClientSetProperty(WiFiManagerClientCreate(kCFAllocatorDefault, 0), @"AllowEnable", kCFBooleanFalse);
  </code></pre>
  
  <p>Each of those end up crashing the app, even though I have an exception function (@try{}).
  I've imported the MobileWiFi.framework and everything, just cant seem to get this to work. Are these the correct methods I need to call to be able to enable/disable Wi-Fi?</p>
  
  <p><strong>NOTE: NOT FOR APP STORE :-)</strong></p>