如何避免图表中的重复游戏条目增加更多游戏部分?Chartboost更多游戏页面
这里是我的代码,并添加了多个广告活动,以填补条目...。是有什么办法来限制重复?
-(void)initChartboost
{
Chartboost *cb = [Chartboost sharedChartboost];
cb.delegate = self;
//change here
cb.appId = CHARTBOOST_APPID;
cb.appSignature = CHARTBOOST_APPSIGNATURE;
[cb startSession];
[cb cacheMoreApps];
}
-(void)showMoreGames
{
if([self connected])
{
Chartboost *cb = [Chartboost sharedChartboost];
[cb showMoreApps];
}
else
{
UIAlertView* alert= [[[UIAlertView alloc] initWithTitle:@"No Internet Connection!" message: @"Checkout your internet connectivity!"
delegate: NULL cancelButtonTitle: @"OK" otherButtonTitles: NULL] autorelease];
[alert show];
}
}
感谢您解决此问题。谢谢你,先生.. – Guru