On iOS 8 the iAd banner automatically created by using canDisplayBannerAd
is displayed with a white background: that does not suit the app design at all. So I need to change it.
How to do it ? Changing the background color property is easy but how to access the iAd banner view?
On iOS7 it was fine.
Ok, I found a way by creating a
category
forADBannerView
and modifying background color property in it.The modification is made in
willMoveToWindow:(UIWindow *)newWindow
.