iAd not shown in repeatable way

I am testing a Universal app (IOS 4.3) on both iPhone/iPad simulator. It has a simple list/detail view. On the detail view, I show a UIWebView and a iAd.

Now the detail view shows a different UIWebView and an iAd, each time it is accessed..

My issue is the iAd appears on 1st/2nd and may be 3rd instance/showing of detail view..But it is not shown after the 2-3 views..

It says

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=0x62852c0 {ADInternalErrorCode=3, NSLocalizedFailureReason=Ad inventory unavailable}

Please let me know how I can fix this.

Thank you.


Check the obvious possibilities first: Have you assigned a delegate and does that delegate have a didFailToReceiveAdWithError: method defined in it?

If those things are OK, then the next step would be a zombie check to see whether the delegate has been deallocated.

Need Your Help

Re-deploying a Rails app without overwriting the production database (Heroku)

ruby-on-rails database git heroku production

I've got a Rails 4 app, hosted on Heroku. I'm running it in production already, and want to be able to make improvements to the app periodically, without touching the production database.

Run binary from with root Android Application

java android unix android-ndk native

I want to run a binary at /dev/local named native(I pushed it through adb), with root permission.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.