I have an app for iPad HTML5 that works offline. An application essentially consists of 4 html files and 3 aspx files. My cache manifest is configured so that only html files are available offline, and aspx files require a network connection. It all works great!
Now I have come to the point where I am putting the finishing touches to the application and trying to finalize the icons on the main screen, work in full screen mode, etc. I added what I consider necessary meta tags so that the application initially starts in full screen mode as soon as it is added to the main screen. The reason I believe the tags are correct is because the application will (correctly) run and stay in full screen mode if I move between html pages back and forth. The problem I am facing is to force the application to remain in full screen when one of the links to the server (aspx) is clicked.
When you click on a server link (aspx), Mobile Safari enters full browser mode and opens a new window. This behavior is unacceptable, and I hope that I am missing something simple here.
Here are the meta tags that I use on all my pages (html + aspx):
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" />
Hope this provides all the necessary information needed to understand the problem. I saw other links here that say that ANY page, besides the bookmark placed on the main page, causes some people to exit full-screen mode. This is not a problem that I am experiencing, so I wanted to start a new discussion. Again, I feel that if I had 5 more html pages in the application, it would continue to remain in full screen mode. Aspx pages are a problem in my situation.
ios iphone-standalone-web-app
Don Jun 21 '11 at 17:33 2011-06-21 17:33
source share