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?enter image description here

1条回答
老娘就宠你
2楼-- · 2020-07-18 05:08

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

查看更多
登录 后发表回答