iOS 7 Status bar showing through on interstitial ads and banner landing pages

864 views
Skip to first unread message

Billy King

unread,
Aug 12, 2013, 12:49:57 PM8/12/13
to google-adm...@googlegroups.com
Hi,

I've posted several times on this topic, but do not yet have an answer for my customer.  Are there plans for an AdMob update to hide the status bar in iOS 7?  Currently, when there are any fullscreen views for either the interstitial ads or the full screen banner ad landing page, the iOS status bar is visible at the top of the view.  I have attached three screenshots showing this issue.  I know there is a new preferStatusBarHidden function in iOS 7, but it looks like it needs to be implemented in the AdMob view controller when the ad is shown. I'm calling the banner and interstitial ads in a manner that is consistent with the AdMob demo projects.

Thank you,
Billy
Screen Shot 2013-07-30 at 9.57.30 AM.png
Screen Shot 2013-08-12 at 9.44.53 AM.png
Screen Shot 2013-08-12 at 9.45.53 AM.png

Karl Hildebrand

unread,
Aug 23, 2013, 7:06:38 AM8/23/13
to google-adm...@googlegroups.com
Hi all,

I've the same problem. Running with Xcode 4.5 / iOS 6 and simulator, all is OK, but the same code with Xcode 5.0 / iOS 7 results in overlying the close button with the status bar!
Obviously neither anyone of the development team is working with iOS7, nor accepting our concern.

Hopefully,

Karl

Joe Wu

unread,
Aug 28, 2013, 2:20:49 PM8/28/13
to google-adm...@googlegroups.com
In your app's rootViewController, overwrite - (BOOL) preferStatusBarHidden by adding


- (BOOL) prefersStatusBarHidden
{
        return YES;
}

Karl Hildebrand

unread,
Sep 4, 2013, 9:20:11 AM9/4/13
to google-adm...@googlegroups.com
Nice idea,

I've already set in info.plist (results in same effect)

That's not what i want. The interstitial should not fade behind the status bar, it should fade on top (like z-index interstitial > z-index status bar - CSS).

Another solution is setting the close button below the status bar. I think, that admob SDK is responsible for the correct behavior.
Reply all
Reply to author
Forward
0 new messages