iAd ADBannerView在设备上显示有色 [英] iAd ADBannerView appears tinted on Device

查看:121
本文介绍了iAd ADBannerView在设备上显示有色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在设备上得到了着色的 adBannerView ,而不是模拟器中显示的常规 adBannerView 。有任何想法吗?

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

推荐答案

在设备上,转到设置>开发人员,然后禁用突出显示剪裁的横幅选项以删除彩色图层。

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

如果启用后,颜色会显示iAd横幅视图是否被修剪(红色)或未修剪(绿色)。

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

请注意,此设置是系统范围的,不仅会影响您应用程序的开发版本,还会影响从App Store下载的所有其他应用程序的生产版本。如果更改此设置,则可能必须重新启动应用程序才能查看更改。

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.

在WWDC 2013 Session 613中也讨论了此功能: iAd集成和最佳做法

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

这篇关于iAd ADBannerView在设备上显示有色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆