title: iPhone Webapp Splash Screen White-Space
body: <p>I have a mobile webapp that I am developing using jquery mobile. I am prompting the users that they can use the <a href="http://cubiq.org/add-to-home-screen" rel="nofollow noreferrer">add to homescreen</a> function to load the webapp from the desktop. When I test the functionality of the splash screen on my iPhone 3GS, the png file which I wish to load does not load with the splash screen, but rather, a "screen shot" of the site with a white-space at the top where it appears the address bar used to be.</p>
  
  <p>Here is my code</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;
  
  &lt;title&gt;Page Title&lt;/title&gt;
  &lt;meta content='yes' name='apple-mobile-web-app-capable'&gt; 
  &lt;meta content='default' name='apple-mobile-web-app-status-bar-style'&gt; 
  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" /&gt;
  &lt;link rel="stylesheet" type="text/css" href="css/style.css" /&gt;
  &lt;link rel="stylesheet" type="text/css" href="css/jquery.mobile.1.min.css" /&gt;
  &lt;link rel="stylesheet" type="text/css" href="css/mydashboard.min.css" /&gt;
  &lt;link rel="stylesheet" href="css/add2home.css"&gt;
  
  &lt;link rel="apple-touch-icon-precomposed" href="touch-icon-iphone.png" /&gt;
  &lt;link rel="apple-touch-icon-precomposed" sizes="72x72" href="touch-icon-ipad.png" /&gt;
  &lt;link rel="apple-touch-icon-precomposed" sizes="114x114" href="touch-icon-iphone4.png" /&gt;
  
  &lt;!-- ***Here is my code for splash screen*** --&gt;
  &lt;link rel="apple-touch-startup-image" href="Default.png" /&gt;
  &lt;link rel="apple-touch-startup-image" href="touch-splash-ipad-land.png"  media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)" /&gt;
  &lt;link rel="apple-touch-startup-image" href="touch-splash-ipad-port.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)" /&gt;
  
  &lt;!-- ***My JS files are included under this and the closing of the head tag*** --&gt;
  </code></pre>
  
  <p>I have tried a 320x460 and a 320x480 png file where the Default.png is. Neither have had any success. From what I've read, I think I'm doing this right, but I could be wrong. I'm basing my opinion on <a href="https://developer.apple.com/library/archive/qa/qa1588/_index.html" rel="nofollow noreferrer">https://developer.apple.com/library/archive/qa/qa1588/_index.html</a> 
  and 
  <a href="https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html" rel="nofollow noreferrer">https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html</a></p>
  
  <p>So my question is this, has anyone else seen this? If so, what was the cause and what did you do to resolve the issue if you did resolve the issue? If you haven't seen this particular issue, is there anything you might be able to suggest based on my code above?</p>