开发者

How to implement iADs into application in iPhone?

开发者 https://www.devze.com 2023-02-08 02:04 出处:网络
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 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

精彩评论

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