iAd横幅未显示,但代码和右侧 [英] iAd Banner does not appear but the code and right

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

问题描述

我对iAd有问题.我遵循了许多质量卓越的教程,几天前,我能够在测试应用程序中正确插入iAd.

I have a problem with iAd. I have followed many tutorials that are of excellent quality, and a few days ago I was able to correctly insert iAd in a test application.

现在,即使我尝试仅使用iAd作为测试来创建新的应用程序,该方法也不起作用!我不明白问题在我看来是以下文字.

Now the method does not work even if I try to create a new application with only the iAd as a test! I cannot understand the problem appears to me the following text.

我使用xCode 5和iOS 7 SDK.

I use xCode 5 and iOS 7 SDK.

iAD prova [3158:a0b] [AppDeveloper] ADBannerView:未处理的错误(没有委托或委托未实现didFailToReceiveAdWithError :):Error Domain = ADErrorDomain Code = 3"该操作无法完成.广告资源不可用". UserInfo = 0xa5aaaf0 {ADInternalErrorCode = 3,ADInternalErrorDomain = ADErrorDomain,NSLocalizedFailureReason =广告资源不可用} 2013-09-20 12:24:59.887 iAD prova [3158:a0b] [AppDeveloper] ADBannerView:未处理的错误(没有委托或委托未实现didFailToReceiveAdWithError :):错误Domain = ADErrorDomain代码= 5"该操作无法完成完成.标语视图是可见的,但没有内容"UserInfo = 0xa5af280 {ADInternalErrorCode = 5,ADInternalErrorDomain = ADErrorDomain,NSLocalizedFailureReason =横幅视图可见,但没有内容}

iAD prova[3158:a0b] [AppDeveloper] ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:): Error Domain=ADErrorDomain Code=3 "The operation couldn’t be completed. Ad inventory unavailable" UserInfo=0xa5aaaf0 {ADInternalErrorCode=3, ADInternalErrorDomain=ADErrorDomain, NSLocalizedFailureReason=Ad inventory unavailable} 2013-09-20 12:24:59.887 iAD prova[3158:a0b] [AppDeveloper] ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:): Error Domain=ADErrorDomain Code=5 "The operation couldn’t be completed. Banner view is visible but does not have content" UserInfo=0xa5af280 {ADInternalErrorCode=5, ADInternalErrorDomain=ADErrorDomain, NSLocalizedFailureReason=Banner view is visible but does not have content}

代码中有错误,我读到有关该用户"ajay"的信息,谁张贴了这个:

There are errors in the code, I read about this user "ajay" who posted this:

最后,我自己解决了问题,所有博客都未提供任何解决方案.我没有在模拟器中获得测试广告,仅通过更改内部代理设置,该广告才会出现在设备中.这对我来说是一个很好的经验,我的建议是,当您使用IOS设备进行操作时,请确保使用免费的代理设备,以便至少可以消除一些与代理相关的问题,不要忘记最后处理与代理相关的内容产品.

Finally I solved problem myself, none of the blog didn't give any solution. I am not getting Test ad in the simulator it is coming in the device only by changing of the internal proxy settings. It's good experience for me and also my suggestion is while your operating with IOS device make sure to take proxy free device so that at least you can eliminate some of the issue related to proxy, don't forget to work proxy related stuff at the end product.

但是我不知道该怎么做.

But I do not understand how I should proceed.

推荐答案

此外,您还可以在Settings.app中更改填充率.如果您希望它一直显示,请将其设置为100%.

Also, you can change your fill rate in Settings.app. Set it to 100% if you want it to show up all the time.

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

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