How to make iAd in iPhone apps?

Currently i am working in an iAd iPhone application. Using ADBannerView to make it, I have one URL for show advertisement in iPhone apps, but I don't know how to integrate this.

I tried this:

IBOutlet ADBannerView *adView;
adView.requiredContentSizeIdentifiers = [NSSet setWithObject:ADBannerContentSizeIdentifier320x50];
adView.requiredContentSizeIdentifiers = [NSSet setWithObjects:ADBannerContentSizeIdentifier320x50,ADBannerContentSizeIdentifier480x32,nil];
adView.delegate=self;

Then I want where I insert the URL to show iAds.

Answers


apple has 2 sample codes which demonstrates the iAd implementation in any iOS apps, have you gone through these..

iAdSuite & iAdInterstitialSuite

download these sample apps, review them and try to implement it in your app.


Need Your Help

Jquery mobile Collabsible Listview not updating

javascript jquery listview jquery-mobile

I am trying to do remote autocomplete with collapsible list view.

Android ListView Pagination for huge data

android pagination android-listview

I am doing a project which is loading lot of data from the server. I have to get that data and arrange it in a listview along with the images. i am facing problem with large data, As the number of ...

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.