简体   繁体   English

隐藏ADBannerView。可以将它移出屏幕吗?

[英]Hide a ADBannerView. Is it ok to move it offscreen?

When the user changes screen, I want to hide the current ADBannerView . 当用户更改屏幕时,我想隐藏当前的ADBannerView。 Is there a "right" way to do that? 是否有“正确”的方式来做到这一点? If I move it offscreen for instance, is it fine: I was wondering if it could keep serving ads while not being displayed and then I would break some Apple Agreement. 例如,如果我将其移出屏幕外,是不是很好:我想知道它是否可以在不显示的情况下继续投放广告,然后我会打破一些Apple协议。

Is it also OK to cover an Ad with a modal view? 用模态视图覆盖广告也可以吗?

Thanks! 谢谢!

Apple recommends moving it offscreen. Apple建议将其移出屏幕。 Watch the 2010 WWDC session 112 video on iAd integration. 观看2010年WWDC会议112关于iAd集成的视频。

Just move it offscreen. 只需将其移出屏幕即可。 It will detect that. 它会检测到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM