Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

white bar on launch image

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

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

white bar on launch image

Hello!

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

white bar on launch image

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.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

white bar on launch image

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

white bar on launch image

Awesome! Thanks for update!

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

white bar on launch image

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

white bar on launch image

Hi, any news on this issue

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

white bar on launch image

Hi,

Sorry, no news yet. We need more time.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

white bar on launch image

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

white bar on launch image

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

Return to “Issues”