iphone-standalone-web-app

How can I clear the cache of an IOS Web App on the Homescreen?

假装没事ソ 提交于 2019-12-03 06:42:09
问题 I am using JQTouch to create a Web App on the Homescreen using meta tag "apple-mobile-web-app-capable", but no matter how many times I clear the cache from within Settings, the Web App's Javascript is still an older cached version. Strangely enough, if I set the meta tag's content to; <meta name="apple-mobile-web-app-capable" content="no" /> ...then add the Web App to the Homescreen, I get the latest version when I launch it. Yet if I set the meta tag to; <meta name="apple-mobile-web-app

Safari Mobile full screen

不想你离开。 提交于 2019-12-03 03:02:56
I'm trying to set the full screen mode on my iPhone Web App, I have read the Apple's documentation on apple-mobile-web-app-capable meta tag, but it doesn't work, can you help me? Thanks You can also add a javascript function : <body onload="setTimeout(function() { window.scrollTo(0, 1) }, 100);"> malinois <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> Make sure you do what Bala Clark mentioned

Broken HTTP basic authentication in web apps on iOS 7?

感情迁移 提交于 2019-12-03 01:33:06
I'm using basic authentication for a simple app but it stopped working in web app mode on iOS 7. It works in Safari, it worked on iOS 6 both in Safari and as a standalone web app, but after migrating to iOS 7 it shows only white screen. Did anyone experience the same problem? I found that by removing windows auth from iis, and leaving only basic with the realm set to the domain solved this issue for me. Give that a try. I think this may be related to the dialog problem described here . Standard dialogs are not working at all, such as alert, confirm or prompt. The login prompt that is shown to

How can I prevent iOS standalone web apps from locking up the device?

我怕爱的太早我们不能终老 提交于 2019-12-02 23:45:10
My prototyping service creates standalone, isntallable iOS web apps. Sometimes they lock up the device while in use. The home button stops working, the app continues to work. The following is shown repeatedly in the device's console (retrived by attaching to xcode). Apr 25 14:34:57 SpringBoard[67] <Warning>: Unable to determine intended instance of com.apple.webapp. Resulting app will be undefined. Since the cause of this is still unknown, I thought I'd contribute by telling you that I'm getting the exact same problem with an HTML5 app on IOS 6 with iPhone 4s. In my case the app does not lock

iOS Full Screen Web App drops cookies?

回眸只為那壹抹淺笑 提交于 2019-12-02 21:50:55
I have experienced that iOS4 drops cookies when you start/exits a web app saved to the dashboard (full screen mode). Is it true and is there a workaround? It's not a bug, it's a feature. Session cookies (i.e. cookies with a lifetime of 0) are dropped at the end of the browser session — which, in the case of a full screen web app, happens as soon as you leave the web app. If you want them to persist, just set your cookie lifetime to something larger than the default 0 (I use 1 year). Now your question might be: how do I set my cookie lifetime? Assuming you're using PHP, the piece of code would

iPhone/iPad WebApps don't allow cookies?

独自空忆成欢 提交于 2019-12-01 17:09:54
When I use <meta name="apple-mobile-web-app-capable" content="yes"> , my page doesn't set, load, or retrieve cookies. Is there any way to get around this? I can't find anything useful in Google. UIWebviews don't store cookies. Use HTML5 local storage instead. There is a small bug in the comment on the first line of jquery.cookie.js that iPads don't like. Change /*! to /* on line 1. 来源: https://stackoverflow.com/questions/4904334/iphone-ipad-webapps-dont-allow-cookies

iPhone/iPad WebApps don't allow cookies?

随声附和 提交于 2019-12-01 15:15:31
问题 When I use <meta name="apple-mobile-web-app-capable" content="yes"> , my page doesn't set, load, or retrieve cookies. Is there any way to get around this? I can't find anything useful in Google. 回答1: UIWebviews don't store cookies. Use HTML5 local storage instead. 回答2: There is a small bug in the comment on the first line of jquery.cookie.js that iPads don't like. Change /*! to /* on line 1. 来源: https://stackoverflow.com/questions/4904334/iphone-ipad-webapps-dont-allow-cookies

Disable rubber band in iOS full screen web app

ε祈祈猫儿з 提交于 2019-11-30 19:25:42
I have a full screen web app running on iOS. When I swipe down, the screen scrolls with the rubber band effect (bumping). I want to lock the whole document but still allow scrolling divs with overflow-y: scroll where needed. I have experimented with document.ontouchmove = function(e){ e.preventDefault(); } but this disables scrolling in any container. Any idea? Thank you very much. Calling preventDefault on the event is actually correct, but you don't want to do it for every component since this will also prevent scrolling in divs (as you mention) and sliding on range inputs for instance. So

Build an ASP.Net web app with offline functionality

痞子三分冷 提交于 2019-11-30 05:21:40
I'm in the process of building an asp.net (3.5) web app and was wondering if you knew of any way I could do it so that there would be some offline functionality. This is needed as people will be able to 'install' the web app on their device (using the 'Add to home screen' function on an iPhone for example) and then use the app when they are offline; the usage would only be limited (there would be no need for server calls at this point either). Can this be done with an .aspx page? Edit- .manifest added: CACHE MANIFEST index.aspx /logo.png /main.css /main.js Edit no.2- We have it working offline

Disable rubber band in iOS full screen web app

故事扮演 提交于 2019-11-30 04:24:40
问题 I have a full screen web app running on iOS. When I swipe down, the screen scrolls with the rubber band effect (bumping). I want to lock the whole document but still allow scrolling divs with overflow-y: scroll where needed. I have experimented with document.ontouchmove = function(e){ e.preventDefault(); } but this disables scrolling in any container. Any idea? Thank you very much. 回答1: Calling preventDefault on the event is actually correct, but you don't want to do it for every component