iAd未显示横幅广告 [英] iAd not showing banner ads

查看:70
本文介绍了iAd未显示横幅广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个想要向我们发送iAd标语的应用程序.我要在其中显示广告的viewcontroller是一个UIViewController.我正在使用情节提要.我完全按照苹果在此处展示/展示的方式实施了iAd横幅广告:

I am building an app in which I want to us iAd banners. the viewcontroller in which I want to show the ad is a UIViewController. I am using storyboards. I implemented the iAd banner exactly as apple shows/demonstrates here:

  • 添加iAd框架
  • 导入"<iAd/iAd.h>"标头
  • 插入了self.canDisplayBannerAds = YES;
  • add iAd framework
  • import "<iAd/iAd.h>" header
  • inserted self.canDisplayBannerAds = YES;

但是当我运行我的应用程序时,没有显示iAd.我会忘记什么吗?提前谢谢你

but when I run my app, no iAd is showing up. do I forget something? Thank you so much in advance

推荐答案

问题是我必须在iTunes Connect中签署iAd合同,但我尚未这样做.现在工作正常!

The problem was that I had to sign the iAd contract in itunes connect, which I had not done yet. it works fine now!

这篇关于iAd未显示横幅广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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