这可能是一个愚蠢的问题,但我想得到通知时,一个ChartBoost-广告显示给用户。我在图表中看到,有几位代表,其中一位是特别感兴趣的,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;谢谢
发布于 2014-11-07 13:28:45
您是在问如何使用这些委托/协议方法吗?
如果是这样的话,苹果的iOS教程https://developer.apple.com/videos/和论坛(如How do I set up a simple delegate to communicate between two view controllers? )都很好地报道了它
https://stackoverflow.com/questions/25507188
复制相似问题