Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在iOS上使用apple mobile web app禁用数据:uri?_Html_Ios_Mobile Safari - Fatal编程技术网

Html 在iOS上使用apple mobile web app禁用数据:uri?

Html 在iOS上使用apple mobile web app禁用数据:uri?,html,ios,mobile-safari,Html,Ios,Mobile Safari,我创建了一个应用程序,它使用data:uri机制在iOS上打开日历中的文件。如果您从mobile Safari运行它,它可以正常工作;如果您在主屏幕上添加快捷方式,它也可以正常工作,但只要我添加: <meta name="apple-mobile-web-app-capable" content="yes"/> …为了使其行为更像应用程序,它不再工作。(我还必须说,它在Chrome for iOS中从来都不起作用。)这是一个已知的问题吗?有什么解决办法吗?我不知道的隐藏选项?我

我创建了一个应用程序,它使用
data:
uri机制在iOS上打开日历中的文件。如果您从mobile Safari运行它,它可以正常工作;如果您在主屏幕上添加快捷方式,它也可以正常工作,但只要我添加:

<meta name="apple-mobile-web-app-capable" content="yes"/>


…为了使其行为更像应用程序,它不再工作。(我还必须说,它在Chrome for iOS中从来都不起作用。)这是一个已知的问题吗?有什么解决办法吗?我不知道的隐藏选项?

我也遇到了同样的问题。我猜这是一种新的行为。我的解决方法是修改href属性:http://www.mysite.com?datastring=字符串。这将离开WebApp并弹出Safari。Herr我检索get变量并重定向到datauri字符串。-是的,安全问题(获取方法),但我的应用程序处于脱机状态。是的,非常讨厌。。。