我正在为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?
提前致谢