我是否需要在iOS7 + app中实现didFailToReceiveAdWithError?

 手机用户2502880237 发布于 2023-02-08 16:02

我正在为iOS7 +实现一个新的应用程序.在我希望显示横幅的视图中,canDisplayBannerAds与iAd横幅的集成似乎很容易.但是我在Xcode日志中遇到这个错误:

ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:): Error Domain=ADErrorDomain Code=7 "The operation couldn’t be completed. Ad was unloaded from this banner" UserInfo=0xc07bcc0 {ADInternalErrorCode=7, ADInternalErrorDomain=ADErrorDomain, NSLocalizedFailureReason=Ad was unloaded from this banner}

因为在iOS7 iAd框架中你只需要设置canDisplayBannerAds = YES,是否有必要继续执行Banner.delegate = self或实现didFailToReceiveAdWithError?

提前致谢

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有