I am getting this warning after 10 screenviews.
More than 10 instances of ADBannerView or ADInterstitialView currently exist. This is a misuse of the iAd API, and ad performance will suffer as a result. This message is printed only once.
I have implemented AdBannerView
through InterfaceBuilder. I am not explicitely creating an ADBannerView programmatically each time the view is loaded.
I am just referencing the AdBannerView
as an @IBOutlet:
@IBOutlet weak var iAdsBanner: ADBannerView!
and hiding/showing it by changing its position, as suggested by Apple documentation.
Why am I getting this kind of error?