简体   繁体   English

iAd:如何捕获未找到广告事件?

[英]iAd: How to catch no Ad found event?

How do I catch the ad not found event from iAd framework? 如何从iAd框架捕获未找到广告事件? if the answer is using didFailToReceiveAdWithError then what is the error type 如果答案是使用didFailToReceiveAdWithError,那么错误类型是什么

thanks -Z 谢谢-Z

I guess that the error type is ADErrorInventoryUnavailable, which indicates that iAd don't have ads for your application. 我猜该错误类型为ADErrorInventoryUnavailable,这表明iAd没有针对您的应用的广告。 More info can be found in the header for ADBannerView to see the errors that the iAd framework will post. 可以在ADBannerView的标题中找到更多信息,以查看iAd框架将发布的错误。

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

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