我在Cocos2d-X iPhone游戏中使用了Chartboost广告。
Chartboost全屏广告在翻版横幅上的某一时刻上升。无法关闭这个。
这是截图:

代码:
[[RevMobAds session] showBanner];
[[Chartboost sharedChartboost] showInterstitial];怎么解决这个问题?
发布于 2014-05-02 02:10:44
看起来SDK在显示视图时是相互冲突的。由于我不太了解RevMob是如何显示他们的观点的,所以我建议不要同时显示两者。相反,请执行以下操作:
当用户加载菜单屏幕时,调用Chartboost间隙代码:
书名/作者:CBLocationMainMenu/ [Chartboost Chartboost:CBLocationMainMenu];
然后,通过实现RevMob委托方法,在Chartboost间隙关闭时调用didCloseInterstitial代码:
- (void)didCloseInterstitial:(CBLocation)location { if (location == CBLocationMainMenu) { [[RevMobAds session] showBanner]; } }
https://stackoverflow.com/questions/23410206
复制相似问题