forked from organicmaps/organicmaps
[ios] Top banner originY value fixed on iOS 7.0.4
This commit is contained in:
parent
a4b54f1f35
commit
037493e5ca
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ const long long LITE_IDL = 431183278L;
|
|||
self.topBannerAd = [[MPAdView alloc] initWithAdUnitId:adUnitId size:MOPUB_BANNER_SIZE];
|
||||
self.topBannerAd.delegate = self;
|
||||
if (!SYSTEM_VERSION_IS_LESS_THAN(@"7"))
|
||||
self.topBannerAd.minY = [UIApplication sharedApplication].statusBarFrame.size.height;
|
||||
self.topBannerAd.minY = 20;
|
||||
self.topBannerAd.midX = self.view.width / 2;
|
||||
self.topBannerAd.hidden = YES;
|
||||
[self.topBannerAd startAutomaticallyRefreshingContents];
|
||||
|
|
Loading…
Add table
Reference in a new issue