繁体   English   中英

对iOS中AdMob非页内广告的演示进行动画处理

[英]Animate the Presentation of AdMob Interstitial in iOS

我正在评估将AdMob插页式广告添加到我的iOS应用中的可能性。 我不确定的一件事是我们是否可以动画方式呈现插页式广告。 从文档中看来,显示插页式广告的唯一方法是使用

presentFromRootViewController:(UIViewController *)rootViewController

方法,因为GADInterstitial不是视图,而是NSObject。 有什么办法可以在动画中显示它,例如滑动/滚动?

谢谢!

在委托函数中,使用它来显示带有动画的插页式广告:

- (void)interstitialDidReceiveAd:(GADInterstitial *)interstitial
{
    [interstitial presentFromRootViewController:self];
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM