iAds 显示在模拟器中但不在设备上

发布于 2024-09-25 03:39:04 字数 194 浏览 2 评论 0原文

我已将 iAds 合并到我的 iOS 程序的新版本中。模拟器中的一切似乎都运行良好,测试 iAd 已加载,当广告材料进入时,ADAdBanner 向上移动到屏幕中。

但是,当我在设备上运行该程序时,没有加载测试广告。

这是正常行为,还是我应该在我的设备上看到测试广告?我想这也许是正常的,但一旦发布到苹果,广告就会出现。

谢谢

I have incorporated iAds into a new version of my iOS program. Everything seems to be working great in the simulator, with test iAds being loaded and the ADAdBanner being moved up into the screen when ad material comes in.

When I run the program on my device, however, no test ads get loaded.

Is this normal behavior, or should I have gotten test ads on my device as well? I am thinking maybe this is normal but that ads will come through once it is published to Apple.

Thanks

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

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

发布评论

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

评论(2

爱她像谁 2024-10-02 03:39:04

您必须在 iTunes Connect 中的二进制文件上启用 iAds。

You have to enable iAds on your binary in iTunes Connect.

枯寂 2024-10-02 03:39:04

另外,如果这不起作用,请从设备中删除该应用程序并重新安装。

Also, if that doesn't work, delete the app from your device and reinstall.

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