为什么测试 iAd for 准系统项目不显示? [英] Why does test iAd for barebones project not display?

查看:23
本文介绍了为什么测试 iAd for 准系统项目不显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
如何在模拟器中显示测试IAd横幅

我非常努力地尝试在我的应用程序中实现 iAd,通过几个博客和视频.

I have tried really hard, with several blogs and videos, to implement iAd in my application.

它仍然失败

ADBannerView:未处理的错误(没有委托或委托未实现 didFailToReceiveAdWithError:):错误域=ADErrorDomain 代码=5操作无法完成.横幅视图可见但没有内容" UserInfo=0x610c5d0 {ADInternalErrorCode=5, NSLocalizedFailureReason=横幅视图可见但没有内容}

并且我的 adbannerview 永远不会显示.错误消息让我认为该视图存在但不可见.

and my adbannerview never displays.The error message makes me think that the view is present but not visible.

谁能告诉我为什么我在模拟器或设备中看不到测试广告.

can any one please tell me why i am not able to see test advertisement in my simulator or device.

我的代码发布在我的旧问题中,但结果并不多:旧帖子.

请不要发布链接,我已经阅读了很多并且正在以相同的方式实施,但它对我不起作用,所以我认为这是另一个问题.我也检查了代理设置,以防万一是网络问题.

Please don't post links, I've read a lot and am implementing the same way but it wont work for me, so I think it is another issue. I checked proxy settings too, in case it was a networking issue.

不好意思问这种问题!

推荐答案

您的错误消息并未特别指明这一点,但重要的是要知道(在 2011 年 5 月撰写此答案时)iAd 仅限美国使用,因此,只要您的设备(或模拟器)认为您在美国境外,您就不会收到任何广告.

Your error message doesn't indicate this in particular, but it's important to know that (in May 2011 when this answer was written) iAds are US-only, so as long as your device (or the simulator) thinks you're outside of the US you won't receive any ads.

这篇关于为什么测试 iAd for 准系统项目不显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆