I've been struggling to get (banner) iAds
to display correctly in the iPhone
, and in an iPad
merely displaying the iPhone
app (scaled up). I still don't know how to fix this, and haven't found anyone else having this problem.
Then I noticed that in iOS7
there's a way to automate using banner ads in an app, by setting:
self.canDisplayBannerAds=YES:
... In the viewDidLoad
method. This seemed like a cool, streamlined way to implement banners, but haven't figured out how to set the delegate when using this automated method. Can one do this, or do you have to do the more manual method of creating an adBannerView
, setting the delegate, and then implementing the delegate methods?
You can not display iAds in compatibility mode on the iPad.
Your app must be universal for iAds to display.
Technical Note TN2264: iAd Implementation Best Practices
Additionally, the delegate methods are not forwards to your application if you are using self.canDisplayBannerAds
. See here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With