ios - Interstitial iAd implementation -


I'm having problems with IED fullscreen advertising. I implement like IAD:

  - (zero) showFullScreenAd {// Check whether the ad has already been requested (requestingAd == NO) {[ADInterstitialAd release]; Intermediate = [[ADInterstitialAd alloc] init]; Interstitial.delegate = self; Self.interstitialPresentationPolicy = Adiintendurial Presentation Policy Manual; [Self-requested interstitial ad presentation]; NSLog (@ "interstitialAdREQUEST"); Request Yes = Yes; } // and if} - (zero) interstitial edi: (ADIentertilid *) was interstitialized filewise: (NSError *) error {interstitial = nil; [Interstitial Aid release]; [ADINSTERSTIALAAD RELEASE]; Request # edi = no; NSLog (@ "Interstitially Deafel Vitoror"); NSLog (@ "% @", error); } - (Zero) Interstitial ADDLoad: (AiInistrictEditAid *) InterstitialAid {NSLog (@ "Interstitial Adidoad"); If (interstitial! = Zero & interstitial! = Blue & requesting ed == yes) {[Interstitial preview from volunteer: self]; NSLog (@ "interstitialAdDidPRESENT"); } // end if - - (zero) Load interstitial adidi: (AIINistrictAid *) * Interstitial {interstitial = zero; [Interstitial Aid release]; [ADINSTERSTIALAAD RELEASE]; Request # edi = no; NSLog (@ "interstitialAdDidUNDLOAD"); } - (Zero) Interstitial Adection Definition (ADI Extrustidid *) Interstitial {Interstitial = Nil; [Interstitial Aid release]; [ADINSTERSTIALAAD RELEASE]; Request # edi = no; NSLog (@ "interstitialAdDidFINISH"); }  

I'm calling "showFullScreenAd" to show ads but after receiving 10 calls I get this message, even if I dismiss this view controller And I am setting the gap = NIEL:

WARNING: More than 10 examples of presently present ADBannerView or ADInterstitialView are present. This is misused by the iAd API, and as a result, ad performance will be affected. This message is only printed once.

In rejecting the difference in the problem, I think. Because the statement interval = [[[ADInterstitialAd alloc] init];

Creates a new example of intermediate every time

I see some topics about this, but no answer is not the way to properly dismiss those instances.

You need to call the method in viewDidLoad .

  - (zero) viewDidoadload {(auto display fullscreen AD); }  

I had this problem when I said the method in viewWillLayoutSubviews .


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -