Note that there are some explanatory texts on larger screens.

plurals
  1. POMore than 1 AdbannerViews
    primarykey
    data
    text
    <p>Im having a little problem with <code>ADBanner</code>'s, I have 3 <code>UIViewController</code>'s and each one have an <code>ADBanner</code>. I have set up the delegate methods like this: </p> <pre><code>-(void)bannerViewActionDidFinish:(ADBannerView *)banner { [UIView beginAnimations:@"animateAdBannerOn" context:nil]; banner.frame = CGRectOffset(banner.frame, 0, 320); [UIView commitAnimations]; } -(void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error { NSLog(@"Error: %@", error); [UIView beginAnimations:@"animateAdBannerOff" context:nil]; banner.frame = CGRectOffset(banner.frame, 0, 320+banner.frame.size.height); [UIView commitAnimations]; } </code></pre> <p>In every <code>UIViewController</code> class file, Im using <code>UIStoryboard</code>. The delegate is connected properly.</p> <p><strong>Now the issue.</strong></p> <p>In the initial <code>ViewController</code> the <code>ADBanner</code> loads like it should, but when I click it it the ad loads in fullscreen, but when I click the x button to get out of the ad I get an error from the <code>didFailToReceiveAdWithError</code> saying: <code>NSLocalizedFailureReason=Loading throttled</code> and the <code>ADBanner</code> disappears. This error happens for every <code>ADBanner</code>. There is 1 more strange thing happening. If I dont click the ad in the initial <code>ViewController</code> the <code>ADBanners</code> in the other 2 <code>ViewControllers</code> the ad doesnt load and gives me the same error from above but 2 times. If i click and dissmisses the <code>ADBanner</code> in the initial <code>ViewController</code> the other 2 loads without an error, but the one in the initial does. </p> <p>To make it short, when the initial <code>ViewControllers</code> <code>ADBanner</code> loads the other 2 dont, and when the other 2 loads the initial doesnt Why is this happening I find this very weird. I read the documentations but I didnt find anything if there was a limit of <code>ADBanners</code> you can have.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload