开发者

How to implement iADs into application in iPhone?

How can I implement i开发者_开发百科ADs into application in iPhone? i downloaded more than 4 sample codes but no one shows even iADs block in application. how to show ADBannerView programmatically anyone provide step by step for showing iADs programmatically.


ADBannerView *adView = [[ADBannerView alloc] initWithFrame: CGRectMake(0, 366, 320, 50)];
adView. requiredContentSizeIdentifiers = [NSSet setWithObjects: ADBannerContentSizeIdentifierPortrait, ADBannerContentSizeIdentifierLandscape, nil];
adView.delegate = self; 
[self.view addSubview: adView];

Edit: Thanks go out to @LucasTizma.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜