0
我的應用程序剛剛發佈。當我將它下載到iPhone 6上時,我注意到admob橫幅沒有填滿整個屏幕(請看附圖)。旗幟作品在iPad和iPhone 5的罰款,但不會是我的代碼我使用橫幅在iPhone 6Admob橫幅未填滿整個屏幕
這裏正常工作:
_bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeSmartBannerPortrait];
_bannerView_.frame = CGRectMake(0.0,
self.view.frame.size.height -
_bannerView_.frame.size.height,
_bannerView_.frame.size.width,
_bannerView_.frame.size.height);
_bannerView_.adUnitID = @"ID";
_bannerView_.rootViewController = self;
GADRequest *request = [GADRequest request];
[_bannerView_ loadRequest:request];
[self.view addSubview:_bannerView_];