iPad 应用程序可检测并下载数据更新以供离线使用

发布于 2024-12-25 09:02:08 字数 228 浏览 3 评论 0原文

我需要创建一个 iPad 应用程序,它首先保存在线内容以供离线使用,但也可以在在线时检测和下载更新(最好只是由于 3G 数据费用而发生的更改),并可能提供推送通知。哪一个是最好的方法,我在哪里可以学习如何做到这一点,因为我是这个领域的新手。

我有 javascript 知识,并且听说过phonegap/titanium,它完全避免了 Objective-C。或者我需要从头开始学习 Objective-C。非常感谢任何帮助。

I need to create an iPad app which firstly saves online content for offline usage but also detects and downloads updates (preferably just the changes due to 3G data costs) when online with possible push notifications. Which would be the best method and where could I learn how to do this as I am new to this area.

I have javascript knowledge and have heard of phonegap/titanium which avoids Objective-C altogether. Or would I need to learn Objective-C from scratch. Any help greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最舍不得你 2025-01-01 09:02:08

这是一个非常广泛的问题,但我一直在研究这个问题。我们的策略是每次打开应用程序时,如果它在线,我们就会检查更新的内容。然后,我们提示用户有新内容可用,他们可以选择立即或稍后下载。您将需要构建一种机制来轮询托管内容的服务器并确定内容是否已更新。

This is a very broad question but one that I work with all the time. Our strategy is every time the app is opened, if it is online we check for updated content. We then prompt the user that new content is available and they can choose to download it now or later. You will need to build a mechanism to poll your servers hosting the content and figure out if the content has been updated.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文