调用插页式 iAd 只能使用一次

2024-08-11移动开发问题
3

本文介绍了调用插页式 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 只能使用一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

硬件音量按钮更改应用程序音量
Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)...
2024-08-12 移动开发问题
10

Cocos2d - 如何检查不同层中对象之间的交集
Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)...
2024-08-12 移动开发问题
8

恢复游戏 cocos2d
Resume game cocos2d(恢复游戏 cocos2d)...
2024-08-12 移动开发问题
6

突出显示朗读文本(在 iPhone 的故事书类型应用程序中)
Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))...
2024-08-12 移动开发问题
9

Cocos2D + 仅禁用 Retina iPad 图形
Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)...
2024-08-12 移动开发问题
10

如何将 32 位 PNG 转换为 RGB565?
How to convert 32 bit PNG to RGB565?(如何将 32 位 PNG 转换为 RGB565?)...
2024-08-12 移动开发问题
21