title: How to turn on/off airplane mode in IOS 5.1 using private API
body: <p>I am trying to toggle on/off airplane mode in IOS 5.1 using private frameworks. </p>
  
  <p>In AppSupport.framework, <code>RadiosPreferences</code> has a property to get/set the airplane mode and set the value</p>
  
  <p><strong>./AppSupport.framework/RadiosPreferences.h</strong>:</p>
  
  <pre><code>@property BOOL airplaneMode;
  </code></pre>
  
  <p><strong>./AppSupport.framework/RadiosPreferences.h</strong>:</p>
  
  <pre><code>- (void)setAirplaneMode:(BOOL)arg1;
  </code></pre>
  
  <p>How can I use these methods? Do I need to use <code>dlsym</code> somehow to create an object and call the methods? Can someone help me with sample code or ways to do it. </p>