APP集成tapjoy积分墙(4)
来源:未知 责任编辑:责任编辑 发表时间:2014-03-23 22:26 点击:次
cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil] autorelease];
[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
相关新闻>>
- 发表评论
-
- 最新评论 更多>>