i'm trying to use Tapjoy for my apps and i'm using the following code
-(void)getTapJoyAd{
[Tapjoy getFullScreenAd];
// A notification method must be set to retrieve the fullscreen ad object.
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(getFullScreenAd:)
name:TJC_FULL_SCREEN_AD_RESPONSE_NOTIFICATION
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(fullscreenAdClosed:)
name:TJC_VIEW_CLOSED_NOTIFICATION
object:nil];
// This method requests the tapjoy server for current virtual currency of the user.
[Tapjoy getTapPoints];
// A notification method must be set to retrieve the points.
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getUpdatedPoints:) name:TJC_TAP_POINTS_RESPONSE_NOTIFICATION object:nil];
}
the problem is when i recall the method again it opens two screens together .. the more i call this method the more screens open up..