Hiding iAds programmatically in iPhone
<p>Currently I am showing iAds in my app.They are working fine.Now, I want to hide the iAds based on some conditions in code.</p>

<p>What I am using is</p>

<pre><code>ADBannerView *bannr= (ADBannerView *)[self.view viewWithTag:1];

bannr.hidden = YES;

bannr.userInteractionEnabled = NO;
</code></pre>

<p>iAds get hidden.But when i press the area where iAd is supposed to be.Advertisement details window popup</p>
