iAd ADBannerView appears tinted on Device

2020-07-18 04:38发布

问题:

I'm getting a tinted adBannerView on the device, instead the normal adBannerView as it appears in the Simulator. Any ideas on this?

回答1:

On the device, go to Settings > Developer and disable the option "Highlight Clipped Banners" to remove the colored layer.

If enabled, the colors show you if the iAd banner view is clipped (red) or not (green).

Note that this setting is system-wide, and affects not only the development builds from your app, but also production builds from all other apps downloaded from the App Store. If you change this setting, you might have to restart the app to see changes.

This feature is also discussed in the WWDC 2013 Session 613: iAd Integration and Best Practices