Reputation: 22042
I used Chartboost ads in Cocos2d-X iPhone game.
Chartboost fullscreen ads shifted up sometime when revmob banner on. Not able to close this.
Here is screenshot:
Code:
[[RevMobAds session] showBanner];
[[Chartboost sharedChartboost] showInterstitial];
How to fix this ?
Upvotes: 0
Views: 235
Reputation: 557
It looks like the SDKs are conflicting when showing the views. As I don't know much about how RevMob shows their view, I suggest simply not showing both at the same time. Instead, do the following:
When the user loads the menu screen, call the Chartboost interstitial code:
[[Chartboost sharedChartboost] showInterstitial:CBLocationMainMenu];
Then, call the RevMob code when the Chartboost interstitial is closed by implementing the didCloseInterstitial delegate method:
- (void)didCloseInterstitial:(CBLocation)location {
if (location == CBLocationMainMenu) {
[[RevMobAds session] showBanner];
}
}
Upvotes: 1