I have been working on my first app for a few months and am at the stage where I need to add advertising before I send it to the App store. I have added iAD successfully and am trying to configure Chartboost.
I run into problems when I try to stop Chartboost from showing Interstitials at certain parts of my game. I have set up locations as per the documentation on the Chartboost website and in the Chartboost.h file it states:
// Return NO if showing an interstitial is currently inappropriate, for example if the user has entered the main game mode
- (BOOL)shouldDisplayInterstitial:(NSString *)location;
Sorry if this sounds like a silly question but I've been searching through my iOS book and online for the answer which I'm sure is simple. How do I return YES to (BOOL)shouldDisplayInterstitial from another class. I.E from my GameViewController.m ?