Issue with status bar and iAd

Hello,

I am having an issue with the status bar and iAd.

Take the sample iAds code in the sdk and remove the line 

display.setStatusBar (display.HiddenStatusBar)

in the main.lua file

On ios 7 devices the status bar is displayed on top of the ad (see screen capture).

For devices prior to ios7 this works fine (the status bar is displayed, and below we have the ad. They do not overlap).

I am building with Version 2013.1256 (2013.11.6)

In iOS 7 there is an expectation that your app’s screen will exist under the statusBar.  If you know you want the statusBar on, you just need to position the banner ad down the amount of the status bar height (and there is an API call that will get you the height of the status bar).

Rob

In iOS 7 there is an expectation that your app’s screen will exist under the statusBar.  If you know you want the statusBar on, you just need to position the banner ad down the amount of the status bar height (and there is an API call that will get you the height of the status bar).

Rob