防止 UIPopoverController 覆盖 ADBannerView

发布于 2024-11-28 21:04:56 字数 282 浏览 7 评论 0原文

我有包含 OverlayView 和 ADBannerView 的 PhotoViewController。 OverlayView 有一些显示 UIPopoverController 的按钮。有时,此弹出窗口会显示在 ADBannerView 上,我会收到警告:

警告横幅视图 (0x193930) 有广告,但可能被遮挡。此消息仅在每个横幅视图中打印一次。

有没有办法在我的预定义位置显示弹出窗口,或者弹出窗口能够识别有时它会覆盖 ADBannerView?

I have PhotoViewController that contains OverlayView and ADBannerView. OverlayView has some buttons which display UIPopoverControllers. Sometimes this popovers display over ADBannerView and I get a warning:

WARNING A banner view (0x193930) has an ad but may be obscured. This message is only printed once per banner view.

Is there a way to display popover in my predefined position or is popover able to recognize that sometimes it would cover ADBannerView?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

山人契 2024-12-05 21:04:56

我发现这并不是因为popover面板覆盖了ADBannerView,而是因为整个屏幕都被popover占据了,广告无法点击。我听说这不是问题,因为悬停不是故意隐藏的,而是由用户操作触发的。

I found out that it's not because popover panel covers ADBannerView, but it's because whole screen is taken by popover and ad cannot be clicked. I've heard that it's not a problem, because hovering is not purposely hiding, but triggerd by user action.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文