Here is my code in viewDidLoad method:
self.bannerView_= [[GADBannerView alloc] initWithFrame:CGRectMake(80,
self.view.frame.size.height -
GAD_SIZE_320x50.height,
GAD_SIZE_320x50.width,
GAD_SIZE_320x50.height)];
self.bannerView_.adUnitID = @"a15037256bd8776";
self.bannerView_.rootViewController =self;
[self.view addSubview:self.bannerView_];
[bannerView_ loadRequest:[GADRequest request]];
My app is designed for landscap mode only. And it works fine in home screen, but when i goes to other screens and trying to load ad(by clicking on banner) the ad is loaded in half part of screen, other half part of screen remains unchanged.
Can anybody help me please.
After more then two days finally i resolved the issue-
Instead to instantiate and call GADBannerView from viewDidLoad of all my view’s, I’ve created a singleton class and use it. see this link for more help