gpt4 book ai didi

iphone - iAd "Too many active banners, Creation of new banners will be throttled."警告

转载 作者:行者123 更新时间:2023-12-03 20:15:36 27 4
gpt4 key购买 nike

我在 ViewWillAppear 和 ViewWillDisappear 上分别创建和删除了 ADBannerView,尽管在切换到另一个未创建 ADBannerView 的 View 后,我仍然看到大量警告。这是什么意思?我该如何修复它?

"Too many active banners, Creation of new banners will be throttled."

最佳答案

尝试使用这个

-(void)viewDidLoad
{
[super viewDidLoad];
adView = [[AdBannerView alloc]initWithFrame:GCResctMake(0,0,320,50)];
adView.requiredContentSizeIdentifiers = [NSSet setWithObject:ADBannerContentSizeIdentifier320x50];
adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50;
adView.delegate=self;
bannerIsVisible=NO;
adView.hidden = YES;
[adContainerView addSubview:adView];
[adView release];
}

关于iphone - iAd "Too many active banners, Creation of new banners will be throttled."警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8765013/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com