Calling interstitial iAd works only one time(调用插页式 iAd 只能使用一次)
问题描述
我有 spritekit 游戏,每次游戏开始时都会使用 [UIViewController prepareInterstitialAds];
预加载广告,并且在游戏结束后它应该显示带有 [self.view.window.rootViewController requestInterstitialAdPresentation] 的广告;
并且它工作正常,但只是第一次.广告只显示一次.在另一场比赛失败后,广告不会通过预加载显示.有什么建议吗?
I have spritekit game, Ad is preloaded on each start of game with [UIViewController prepareInterstitialAds];
And after gameover it should display ad with [self.view.window.rootViewController requestInterstitialAdPresentation];
and it's works okay, but only first time. The ad's shows only one time. After failing another game, ad do not show though preload. Any suggestions?
推荐答案
在这里查看gj15987的答案...requestInterstitialAdPresentation 只能使用一次
See the answer by gj15987 here... requestInterstitialAdPresentation Works only one Time
他说有两分钟的封锁期.我试了一下,发现我花了 3 分 20 秒才允许另一个广告.我在设置的开发者部分将填充率设置为 100%.
He says there's a two minute block out period. I tried it and found it took 3min 20sec to allow another ad for me. I have fill rate set to 100% in the Developer section of Settings.
这篇关于调用插页式 iAd 只能使用一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:调用插页式 iAd 只能使用一次
基础教程推荐
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01