ios - 我们可以在 iOS 10+ 中支持离线单页 Web 应用程序吗?

标签 ios web-applications html5-appcache

我们正在开发一个单页 RWD web 应用程序,它支持所有移动设备外形规范。我们愿意

  1. 让 webapp 也支持离线浏览功能
  2. 从服务器下载数据后,即使没有互联网连接,用户也应该能够看到该数据。
  3. 用户应该能够填写表格,然后在有互联网连接时将其提交到服务器。

我们可以使用 AppCache、HTML5 存储来获得离线功能吗?如果我们使用散列来更改地址栏中的导航,则整个页面刷新问题也不存在。

正在浏览 Stackoverflow 中关于此的一些旧帖子。 Offline iOS web app: loads my manifest, but doesn't work offline

这篇文章是2011年的,2017年,我们还能支持吗

最佳答案

如果你想打开从 URL 到 webView 的东西,你需要互联网。在特定条件下,您可以在 iOS 应用程序中执行以下操作。

Users should be able to fill forms, and later submit it to the server, when there is an internet connection.

关于ios - 我们可以在 iOS 10+ 中支持离线单页 Web 应用程序吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48782246/

相关文章:

ios - 我们可以在 iOS 上检测到非 iBeacon 信标吗?

ios - 如何在辅助显示中显示 web View (具有所有交互),例如苹果电视

iphone - 属性(property)分配

meteor - 如何调查 Meteor appCache 中的内容

php - REST API 安全设计

web-applications - tomcat中的签名jar文件

javascript - cometd 事件不那么频繁

php - 如何调试IE11 CACHE

javascript - 未捕获的类型错误 : Failed to execute 'createObjectURL' on 'URL' : No function was found that matched the signature provided

codeigniter - Codeigniter 中的图像文件、css、js 等放在哪里?