I tried adding ads to my app but none show up I don't know why, I think its because the ad code I used is not compatible with the iOS I'm testing it on. Here is my code:
@implementation Class_ScoreViewController
{
ADBannerView *_bannerView;
}
- (void)viewDidLoad
{
[super viewDidLoad];
[self.view addSubview:_bannerView];
}
i do have the <AdBannerViewDelegate>
or if I'm doing it wrong how do I do it correctly?
Thanks for the help!
It seems that there is a general problem. Many people are reporting that their ads are not showing.
Implement these method from AdBannerViewDelegate protocol:
- (void)bannerViewDidLoadAd:(ADBannerView *)banner;
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error;
And check if (NSError *)error is returning
Ad inventory unavailable" UserInfo=0x49a4f0 {ADInternalErrorCode=3, NSLocalizedFailureReason=Ad inventory unavailable
It so, try again in a few hours!
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다