我在应用程序中添加了应用程序商店URL。但我想在我的设备上测试一下xcode的广告。广告正在加载,但不会显示在屏幕上。我在印度,是这个地方特定的问题还是Inmobi不提供测试广告。
发布于 2013-09-10 16:09:51
你把它作为子视图添加到屏幕上了吗?
inmobiAdView = [[IMAdView alloc] initWithFrame:CGRectMake(0, 0, 320, 50) imAppId:INMOBI_APP_ID imAdSize:IM_UNIT_320x50];
inmobiAdView.delegate = self;
IMAdRequest *request = [IMAdRequest request];
/**
* additional targeting parameters. these are optional
*/
request.gender = kIMGenderMale;
request.education = kIMEducationBachelorsDegree;
// etc ..
inmobiAdView.imAdRequest = request;
[self.view addSubview:inmobiAdView]; // Did you added this line? this line add the adView as a subview
[inmobiAdView loadIMAdRequest];https://stackoverflow.com/questions/18713428
复制相似问题