开发者

Preventing UIPopoverController from covering ADBannerView

开发者 https://www.devze.com 2023-03-27 05:22 出处:网络
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 wa

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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消