Why isn't iAd working?

206 views Asked by At

I have tried everything to try to get iAd to work in my app but nothing is showing up. I am trying to do it my putting in the line self.canDisplayBannerAds = true under viewDidLoad but nothing is working. I can't get anything to show up. I have iAd imported and added to my app. Any help would be greatly appreciated.

2

There are 2 answers

5
Victor Rius On

This service is no longer available. Check this link. https://developer.apple.com/iad/

0
Saif On

As of December 31, 2016, the iAd App Network is no longer available.

Have a look at About the iAd App Network Shutdown


canDisplayBannerAds will always return NO,

Effects of iAd Shutdown

If your app implements the iAdAdditions category on UIViewController, setting the ADInterstitialPresentationPolicy will have no effect and calling requestInterstitialAdPresentation: or canDisplayBannerAds: will always return NO.