title: How to show the iAD?
body: <p>I have used following code to display the iAD</p>
  
  <pre><code>  bannerView = [[ADBannerView alloc]initWithFrame:
                CGRectMake(0, 0, 320, 50)];
  // Optional to set background color to clear color
  bannerView.delegate=self;
  [bannerView setBackgroundColor:[UIColor clearColor]];
  [self.view addSubview: bannerView];}
  </code></pre>
  
  <p>iAd not displayed in simulator.Every time to call following delegate method</p>
  
  <pre><code>-(void)bannerView:(ADBannerView *)bannerdidFailToReceiveAdWithError:(NSError *)error{
  NSLog(@"Error loading %@",error);}
  </code></pre>