这可能是一个愚蠢的问题,但我希望在为用户显示 ChartBoost 广告时收到通知。我在chartboost.h 中看到了一些代表,其中一个特别令人感兴趣,didDisplayInterstatial。
但是,我不知道如何实现这一点,或者它是否完全用于此目的。
chartboost.h
@protocol ChartboostDelegate <NSObject>
@optional
/// All of the delegate methods below are optional.
/// Implement them only when you need to more finely control Chartboost's behavior.
/// Called before requesting an interestitial from the back-end
- (BOOL)shouldRequestInterstitial:(CBLocation)location;
// Called when an interstitial has been displayed on the screen.
- (void)didDisplayInterstitial:(CBLocation)location;
谢谢