ios - Not seeing the "Connected to iAd" popups on my app -


i in process of making ios app (objective-c), nearing end of production of application , trying implements interstitial ads. before seeing blue you connected iad banners before on app not seem see them now. test device (iphone 5s, ios 9.2.1) connected internet, not issue , account using free developer account, not paid one.

below code 1 of view controllers (the code identical on 3 of them regard iad), got code apple's test project , modified slightly.

- (void)viewwillappear:(bool)animated { [super viewwillappear:animated];  [self cycleinterstitial];  // other non-relavent stuff  }     - (void)like: (uibutton*)button {  // other non-relavent stuff      nsinteger = arc4random_uniform(3);  if (i == 2) {     [self presentinterlude]; } }  - (void)cycleinterstitial { // clean old interstitial... nslog(@"cycling"); self.inter.delegate = nil; // , create new interstitial. set delegate can notified of when self.inter = [[adinterstitialad alloc] init];  self.inter.delegate = self; }  - (void)presentinterlude { // if interstitial managed load, we'll present now. if (self.inter.loaded) {     nslog(@"requesting ad");     [self requestinterstitialadpresentation]; }  }    - (void)interstitialaddidunload:(adinterstitialad *)interstitialad { [self cycleinterstitial]; }   - (void)interstitialad:(adinterstitialad *)interstitialad didfailwitherror:(nserror *)error { [self cycleinterstitial]; } 

i know not random number removed previously. any ideas on why ads not showing up? code, non-paid developer account, or else?

i not trying display actual ad trying you connected iad popup display confirm implementation working, should not fact using non-paid developer account.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -