Page 1 of 4

white bar on launch image

Posted: Fri Mar 07, 2014 4:16 pm
by Michael4771079

Hi,
when I open my app "godfatherpizza" the app is shared, ios 7 on iphone 4s, and compiled in xcode the launch image appears as normal,
but just before the screen change, a white bar appears at the bottom of the screen, its like a white footer,
but there is no footer on this page, and no white bar at the bottom of the image in media manager.
On the following screen I have a js asset in the app to hide and show the footer when user focuses and blurs the login input.

Dont know if this code has anything to do with this issue

I commented out the focus and blur but this makes no difference.
Up until now I have been using a splash screen and this didnt happen.
Once I uploaded the launch images this problem occured.

This is the js to hide and show the footer
Hope someone knows how to solve this, I can see others having footer issues
thx

codevar portraitScreenHeight;
var landscapeScreenHeight;

if(window.orientation === 0 window.orientation === 180){
potraitScreenHeight = $(window).height();
landscapeScreenHeight = $(window).width();
}
else{
portraitScreenHeight = $(window).width();
landscapeScreenHeight = $(window).height();
}
var tolerance = 25;
$(window).bind('resize', function(){
if((window.orientation === 0 window.orientation === 180) &&
((window&#46;innerHeight + tolerance) < portraitScreenHeight)){
$("[data-role=footer]")&#46;hide();
}
else if((window&#46;innerHeight + tolerance) < landscapeScreenHeight){
$("[data-role=footer]")&#46;hide();
}
else{
$("[data-role=footer]")&#46;show();
}
});
/code


white bar on launch image

Posted: Fri Mar 07, 2014 4:40 pm
by Maryna Brodina

Hello!

is the problem still there if you remove "launch images" ?


white bar on launch image

Posted: Fri Mar 07, 2014 5:04 pm
by Michael4771079

Hi Maryna,
with splash screen and no launch images this problem is gone,
you get a white screen then splash and then login.

with no splash or launch images you get the white and green apperyio screen,
so its impossible to say.


white bar on launch image

Posted: Sat Mar 08, 2014 3:16 pm
by Michael4771079

Hi folks,

update:

this issue is now resolved,

the code above was the problem,
I deleted the code to hide footer and the launch image behaved as it should,
I then re added the the code, footer issue resolved again with no impact to the launch image!
The only reason I can think caused this may be that I uploaded the launch images after the code had be implemented.

as always
thx


white bar on launch image

Posted: Sat Mar 08, 2014 3:22 pm
by Alena Prykhodko

Awesome! Thanks for update!


white bar on launch image

Posted: Sat Mar 08, 2014 5:57 pm
by Michael4771079

Sorry to say Alena,
the problem is back,
its the code to hide footer thats conflicting with launch image.
just before the start screen loads the code seems to remove a space from the launch image where the footer would be.

This code is necessary because of the behavior of the footer jumping into the page obstructing the login and pass inputs.

this footer bug wont be fixed until april we are told, but with this problem we cannot submit to apple with this footer problem and I would expect to be rejected by apple if we submit with launch screen problem.

Is there any way to use the footer code but prevent it messing with the launch image

cheers


white bar on launch image

Posted: Mon Mar 10, 2014 11:59 am
by Michael4771079

Hi, any news on this issue


white bar on launch image

Posted: Mon Mar 10, 2014 12:12 pm
by Igor

Hi,

Sorry, no news yet. We need more time.


white bar on launch image

Posted: Tue Mar 11, 2014 12:00 pm
by Michael4771079

Hi Maryna,
any news on this issue, I am under a lot of pressure to submit this app


white bar on launch image

Posted: Tue Mar 11, 2014 12:11 pm
by Michael4771079

forgot this, seen this on overflow, do you think it would do and if so do I use the code suggested as a js asset

thx