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