Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS 9中没有演示广告_Ios_Objective C_Ios9_Iad - Fatal编程技术网

iOS 9中没有演示广告

iOS 9中没有演示广告,ios,objective-c,ios9,iad,Ios,Objective C,Ios9,Iad,我已将IAD集成到我的应用程序中: ADBannerView *bannaerView = [[ADBannerView alloc] init]; [self adjustBannerView]; bannaerView.userInteractionEnabled = YES; bannaerView.delegate = self; [self.view addSubview:bannaerView]; 在运行iOS 9时,它不会显示演示广告 使用iOS 8时,我确实会收到演示广告:

我已将IAD集成到我的应用程序中:

ADBannerView *bannaerView = [[ADBannerView alloc] init];
[self adjustBannerView];
bannaerView.userInteractionEnabled = YES;
bannaerView.delegate = self;
[self.view addSubview:bannaerView];
在运行iOS 9时,它不会显示演示广告

使用iOS 8时,我确实会收到演示广告:

点击广告时,它会打开一些其他屏幕,显示应用程序已正确连接到iAd

为什么我无法使用iOS 9接收演示广告?它显示了一个空白。我也试过这个设备


我遗漏了什么吗?

自从iOS 9发布以来,iOS 9的这个问题不断出现并消失。以帮助引起他们的注意


另外,
bannaerView.userInteractionEnabled=YES
是不必要的,并且您已经错贴了横幅。检查以确保填充率也设置为100%:进入“设置>开发人员>填充率>并将其设置为100%。

这些设置在哪里可用?我对此一无所知,请解释一下,我会感谢Hanks@Daniel。我一直在想,大多数开发者都无法获得iAd,他们是否也有同样的经历?从上一个xcode 7.1开始,我也不能使用iAds。@SabhaySardana它在您的设备设置应用程序中。向下滚动直到看到Developer。@SabhaySardana这不是最终的解决方案,但有时可能是问题所在。请用我在回答中提供的链接向苹果提交一个bug。你有没有解决方案@萨哈伊萨达纳