如何避免重复游戏进入图表提升更多游戏部分?
这是我的代码,并添加了多个广告系列来填写条目……有没有办法限制重复?
-(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];
}
}