APP集成tapjoy积分墙(9)
来源:未知 责任编辑:责任编辑 发表时间:2014-03-23 22:26 点击:次
[alView show];
}
/*else
{
alView =[[[UIAlertView alloc] initWithTitle:@"Attention"
message:[NSString stringWithFormat:@"You have no Tapjoy points. Go ahead to earn more!"]
delegate:nil
cancelButtonTitle:@"OK" otherButtonTitles:nil, nil] autorelease];
}
[alView show];*/
}
-(void)getTJPointsError:(NSNotification*)notifyObj
{
NSLog(@"获取Tapjoy积分失败!");
}
//消费监视函数
-(void)consumeTJPoints:(NSNotification*)notifyObj
{
NSLog(@"Tapjoy积分消费成功!");
[DataManager shareManager].coins = [DataManager shareManager].coins + tapPoints;
UIAlertView * alView =[[[UIAlertView alloc] initWithTitle:@"Congratulations"
message:[NSString stringWithFormat:@"You get %d coins successfully!",tapPoints]
delegate:nil
cancelButtonTitle:@"OK" otherButtonTitles:nil, nil] autorelease];
相关新闻>>
- 发表评论
-
- 最新评论 更多>>