我像这样创建我的 AdBannerView:
adBannerView = [[ADBannerView alloc] init];
adBannerView.backgroundColor = [UIColor whiteColor];
adBannerView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
CGSize sizeToFit = [adBannerView sizeThatFits:[[CCDirector sharedDirector] view].frame.size];
[adBannerView setFrame:CGRectMake(([[CCDirector sharedDirector] view].frame.size.width - sizeToFit.width)/2.0f, 0, sizeToFit.width, sizeToFit.height)];
adBannerView.delegate = self;
[[[CCDirector sharedDirector] view] addSubview:adBannerView];
问题是,虽然视图在 iPhone 设备上正确显示:
...这些广告在 iPad 设备上看起来很奇怪,就好像它们被剪辑在不同的点:
为什么是这样?