title: How to override deprecated warning in Xcode?
body: <p>Is there a <code>#pragma</code> to override a compile time warning, e.g.:</p>
  
  <pre><code>warning: 'ADBannerContentSizeIdentifier480x32' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/iAd.framework/Headers/ADBannerView.h:111)
  </code></pre>
  
  <p>I have to keep compatibility for pre-4.2 iOS devices by:</p>
  
  <pre><code>NSString *iAdSize = (osVersion &gt;= 4.2) ? ADBannerContentSizeIdentifierPortrait : ADBannerContentSizeIdentifier480x32;
  </code></pre>
  
  <p>Thanks</p>