Possible Duplicate:
how to display test IAd banner in the simulator
I have tried really hard, with several blogs and videos, to implement iAd in my application.
It still fails with
ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:): Error Domain=ADErrorDomain Code=5 "The operation couldn’t be completed. Banner view is visible but does not have content" UserInfo=0x610c5d0 {ADInternalErrorCode=5, NSLocalizedFailureReason=Banner view is visible but does not have content}
and my adbannerview never displays.The error message makes me think that the view is present but not visible.
can any one please tell me why i am not able to see test advertisement in my simulator or device.
My code is posted in my old question but not much result: old post.
Please don’t post links, I’ve read a lot and am implementing the same way but it wont work for me, so I think it is another issue. I checked proxy settings too, in case it was a networking issue.
Sorry to ask like this!
Your error message doesn’t indicate this in particular, but it’s important to know that (in May 2011 when this answer was written) iAds are US-only, so as long as your device (or the simulator) thinks you’re outside of the US you won’t receive any ads.