Kapow36
Posts: 0
Joined: Thu May 23, 2013 4:07 pm

Header overlap with iPhone status bar as shown in screen shot

Hi all, I read through this all, and it's nice to know that you are working on a fix, but the sooner the better. We are planning to release a newer version of our app, and releasing it without the header would cause a lot of chaos.
Thanks!

Kapow36
Posts: 0
Joined: Thu May 23, 2013 4:07 pm

Header overlap with iPhone status bar as shown in screen shot

Maryna Brodina, could you include some screenshots? I have not been using Appery as much since the addition of source file editing and it would be nice to know exactly where I am looking for things.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Header overlap with iPhone status bar as shown in screen shot

Hello! You can find .plist file on Source tab: ios/projectName/projectName/projectName-Info.plist and change the following lines so that it looks like this precode<key>UIStatusBarHidden</key>
<true/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>/code/pre

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Header overlap with iPhone status bar as shown in screen shot

We're sorry for inconvenience, it's going to be fixed in March.

Kapow36
Posts: 0
Joined: Thu May 23, 2013 4:07 pm

Header overlap with iPhone status bar as shown in screen shot

So, weird scenario, the source file does not have these keys

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Header overlap with iPhone status bar as shown in screen shot

Hello @Kapow36!
Please take a look at the screenshot
Image
You can add UIViewControllerBasedStatusBarAppearance manually

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Header overlap with iPhone status bar as shown in screen shot

Hi Maryna,

I took a look at the image above, and mine is like yours ... but status bar is still showing....

any other way to hide this?

thanks!! Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Header overlap with iPhone status bar as shown in screen shot

There is no UIViewControllerBasedStatusBarAppearance key on my screenshot. You need to add it manually. Have you done it?

Rafael Martínez
Posts: 0
Joined: Tue Apr 23, 2013 5:19 pm

Header overlap with iPhone status bar as shown in screen shot

Hi, we have also experienced the same issue.

We solved the problem by including this code:

if ([[[UIDevice currentDevice] systemVersion] floatValue] = 7) {
CGRect viewBounds = [self.webView bounds];
viewBounds.origin.y = 20;
viewBounds.size.height = viewBounds.size.height - 20;
self.webView.frame = viewBounds;
}

in the CDVViewController.m generated by Appery.IO and compiling with XCode.

Return to “Issues”