title: How can i know airplane mode on or off in ios
body: <p>i would like to check airplane mode on or off on boolean variable. 
  for example : </p>
  
  <pre><code>Bool airplaneMode = airplanemode;
  
  if(airplaneMode)
  {
       NSLoag(@"Airplane mode on");
  }
  else
  {
      NSLoag(@"Airplane mode Off");
  }
  </code></pre>
  
  <p>i don't want to check Network is available or not i need only to check airplane mode on or off. </p>