问题
I created an application that uses the data:
uri mechanism to open a file in the calendar on iOS. It works fine if you run it from mobile Safari, it works if you add a shortcut to your home screen, but as soon as I add:
<meta name="apple-mobile-web-app-capable" content="yes"/>
… to make it behave a little bit more app-alike, it no longer works. (I also have to say that it never works in Chrome for iOS.) Is this a known issue? Are there any workarounds? Hidden options I'm not aware of?
来源:https://stackoverflow.com/questions/21502888/using-apple-mobile-web-app-capable-disables-data-uri-on-ios