开发者

iPhone : Problem with iAdBannerView - not able to see in device

I have implemented iAdBannerView. Its giving me the following warning : "ADBannerView: WARNING A banner view (0x136d20) has a开发者_运维知识库n ad but may be obscured. This message is only printed once per banner view." what should i do ?


I used to get those warnings constantly when I placed my iAds too close to the edge of my screen, but they're not that big of a deal. Did you implement all of the delegate methods for iAd? (I believe there's only 1 or 2 that have to be implemented, and if they're not you'lll get a warning). And are you seeing "Test Advertisement" in the iAd? If so, you should be fine... remember, you get paid per click, not per view, so as long as the users can see it you're good.

Also, just as a side note: iAd has horrible fill rates (it's sometimes as low as 5% for me), so you might want to look into using something like admob concurrently with iAd. Adwhirl is great for just this: it can display iAd if there is an ad available, and admob otherwise. That way you maximize your revenue.

Hope that helps!


Try this line of code, this may help you out:

[adBannerView setAutoresizingMask: UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleTopMargin];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜