我在我正在开发的应用程序中使用来自 RevMob 的广告,我想知道如何每 5. 应用程序打开显示一个全屏广告。我不知道怎么做,我在网上也没有找到任何关于这个的东西。感谢您的帮助!
我正在使用的当前代码在 AppDelegate.m 中:
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
[RevMobAds session].parallaxMode = RevMobParallaxModeOff;
[[RevMobAds session] showFullscreen];
}