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.innerHeight + tolerance) < portraitScreenHeight)){
$("[data-role=footer]").hide();
}
else if((window.innerHeight + tolerance) < landscapeScreenHeight){
$("[data-role=footer]").hide();
}
else{
$("[data-role=footer]").show();
}
});
/code