0

我想在我的 iOS 应用程序中在指定的时间间隔内显示插页式广告。另外,我不想打扰用户交互。当用户尝试从屏幕/其他操作导航时,我想显示此插页式广告。

但是,我在 iOS 中看不到任何可以在需要时加载 InterstitialAd 的方法/调用。此外,[interstitialAdObj presentFromViewController]在 iOS 7 中也已弃用。

我的问题是,仅在需要时显示/展示插页式广告的另一种方式是什么?

4

1 回答 1

0

这个在 iOS 7 中对我有用。在 ADInterstitialAdDelegate 中找到

-(BOOL)presentInView:(UIView *)containerView;

-(BOOL)requestInterstitialAdPresentation NS_AVAILABLE_IOS(7_0);

我希望这对你有帮助。

于 2014-04-06T22:45:33.917 回答