我已经实现bannerView didFailToReceiveAdWithError:
了
- (void)bannerView(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error
{
_bannerView.hidden = NO;
}
你能告诉我为什么当错误出现时它不会消失吗?
我在日志中得到这个:
2012-10-27 15:40:57.367 MinePedia[22467:11903] [AppDeveloper]:
ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:):
Error Domain=ADErrorDomain Code=3 "The operation couldn’t be completed. Ad inventory unavailable"
UserInfo=0x7192530 {ADInternalErrorCode=3, ADInternalErrorDomain=ADErrorDomain, NSLocalizedFailureReason=Ad inventory unavailable}