iAd 奇怪的控制台“未处理的错误”

发布于 2024-09-28 14:12:56 字数 328 浏览 0 评论 0原文

我在控制台中看到:

“未处理的错误(没有委托或 委托不执行 didFailToReceiveAdWithError:):"

虽然 didFailToReceiveAdWithError 正在被调用(我可以通过检查点和控制台日志看到)

有人有任何合理的解释吗?就像它同时工作和不工作一样。我没有使用 IB对于 adview,并以编程方式添加它并设置了 adview.delegate = self. 如果这改变了任何内容,我也在这个项目中使用 Three20 ,

就像有时他知道谁是他的代表,有时不知道......

I'm seeing in the console:

"Unhandled error (no delegate or
delegate does not implement
didFailToReceiveAdWithError:):"

Although didFailToReceiveAdWithError is being invoked (I can see that with check points and in the console log)

Does someone has any reasonable explanation? It's like it's working and not working all in the same time. I'm not using IB for the adview, and have added it programmatically and have set the adview.delegate = self. I'm also using three20 in this project if that changes anything.

It's like sometimes he knows who's his delegate and sometime not...

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

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

发布评论

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

评论(1

ゞ记忆︶ㄣ 2024-10-05 14:12:56

苹果文档说:

当您开发应用程序时,iAd Network 会向您的应用程序发送测试广告。为了帮助您验证实施情况,iAd Network 有时会返回错误来测试您的错误处理代码。

在我的应用程序中,iAd 还返回正确横幅、错误 3、错误 5 等的组合。也许在应用程序发布后,当 iAd 更改为

iAd Network 提供测试广告

向以下

用户提供测试广告

如果您签署了 iAd Network 协议并为您的应用程序启用了广告,iAd Network 就会提供实时广告

The Apple documentation says:

While you are developing your application, iAd Network sends test advertisements to your application. To assist you in validating your implementation, the iAd Network occasionally returns errors to test your error handling code.

In my app iAd also returns a mix of correct banners, error 3, error 5, ... and so on. Maybe this problem will disappear after the release of the app when iAd changes from

iAd Network serves test ads

to

iAd Network serves live ads if you signed the iAd Network Agreement and enabled advertising for your application

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