iosxcodeiad

iAdBannerView not shown in my xcode tools


I am trying to add an iAd BannerView to my storyboard. However, I can not find it as one of the items that in my object library.

I added iAd framework from Build phases and though it is not there.

I am running Xcode version 9.2


Solution

  • According to their site, Apple shut down the iAd Network on December 31, 2016. As such, you won't be able to use any of the associated frameworks or symbols therein. You'll have to use a different ad network to put ads in your app