سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top