APP集成tapjoy积分墙(5)
来源:未知 责任编辑:责任编辑 发表时间:2014-03-23 22:26 点击:次
cancelButtonTitle:@"OK" otherButtonTitles:nil, nil] autorelease];
[alView show];
}
-(void)consumeTJPointsError:(NSNotification*)notifyObj
{
NSLog(@"Tapjoy积分消费失败!");
/*
UIAlertView * alView =[[[UIAlertView alloc] initWithTitle:@"Bad News"
message:[NSString stringWithFormat:@"Your Tapjoy virtual currency fail to change to coins,now still has %d Tapjoy virtual currency!", tapPoints]
delegate:nil
cancelButtonTitle:@"Cancel" otherButtonTitles:nil, nil] autorelease];
[alView show];*/
}
//全屏广告监视函数
-(void)getTJFullScreenAd:(NSNotification*)notifyObj
{
[TapjoyConnect showFullScreenAd];
}
//全屏广告退出函数
-(void)fullScreenAdClosed:(NSNotification*)notifyObj
{
NSLog(@"Fullscreen Ad closed");
}
#pragma mark Tapjoy Display Ads Delegate Methods
- (void)didReceiveAd:(TJCAdView*)adView
{
NSLog(@"Tapjoy Display Ad Received");
if(rootWindow == nil)
{
rootWindow = [[AppDelegate sharedAppDelegate] window];
[rootWindow addSubview:adView];
}
}
- (void)didFailWithMessage:(NSString*)msg
{
相关新闻>>
- 发表评论
-
- 最新评论 更多>>