Page 2 of 6

Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Feb 25, 2014 2:00 am
by Kapow36

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!


Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Feb 25, 2014 3:11 am
by Kapow36

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.


Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Feb 25, 2014 9:35 am
by Maryna Brodina

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


Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Feb 25, 2014 9:37 am
by Maryna Brodina

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


Header overlap with iPhone status bar as shown in screen shot

Posted: Thu Feb 27, 2014 6:46 am
by Kapow36

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


Header overlap with iPhone status bar as shown in screen shot

Posted: Thu Feb 27, 2014 8:34 am
by Maryna Brodina

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


Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Mar 04, 2014 5:49 am
by Alex GG

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


Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Mar 04, 2014 12:52 pm
by Maryna Brodina

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


Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Mar 04, 2014 6:10 pm
by Rafael Martínez

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.


Header overlap with iPhone status bar as shown in screen shot

Posted: Tue Mar 04, 2014 6:58 pm
by Maryna Brodina

Thank you for sharing!