I am building a simple web app meant to run on iPads mostly. The problem is that the app freezes on Start up if you quickly double tap the home button / tap it while the app displays the start up picture and loads up the content. If you try to open/close the app quickly you might see what I am talking about.
Once the app freezes, it gets stuck on the home screen displaying the content of the main page. Pressing the home button won't bring you back to the home screen. Pressing the power button won't lock the screen either. You have to do a hard reset (press the home button and the lock button at the same time).
I think the problem here might be the start up image. Has anyone come across this?
The testing device is an iPad 3 with iOS 6.0.
Following is the bare bones HTML (which still causes the app to freeze):
<!DOCTYPE html>
<html>
<head>
<title>Mobile</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-capable" content="yes"/>
<link rel="stylesheet" href="css/main.css" />
<!-- iPad (Retina, landscape) -->
<link rel="apple-touch-startup-image"
media="(device-width: 768px)
and (orientation: landscape)
and (-webkit-device-pixel-ratio: 2)"
href="apple.png">
</head>
<body>
Test
</body>
</html>