小编use*_*767的帖子

Admob不工作?

我之前制作了一个应用程序,这个代码在5.0.1更新之前工作但它不适用于新的应用程序.可能是什么问题呢?

这是代码:

{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
// Do any additional setup after loading the view from its nib.
// Create a view of the standard size at the bottom of the screen. 
bannerView_ = [[GADBannerView alloc] initWithFrame:CGRectMake(0.0, self.view.frame.size.height - GAD_SIZE_320x50.height, GAD_SIZE_320x50.width, GAD_SIZE_320x50.height)]; 
// Specify the ad's "unit identifier." This is your AdMob Publisher ID. 
bannerView_.adUnitID = MY_BANNER_UNIT_ID; 
// Let the runtime know which UIViewController to restore after taking 
// …
Run Code Online (Sandbox Code Playgroud)

iphone ads admob xcode4 ios5

1
推荐指数
1
解决办法
4143
查看次数

标签 统计

admob ×1

ads ×1

ios5 ×1

iphone ×1

xcode4 ×1