iPad 应用程序可检测并下载数据更新以供离线使用
我需要创建一个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个非常广泛的问题,但我一直在研究这个问题。我们的策略是每次打开应用程序时,如果它在线,我们就会检查更新的内容。然后,我们提示用户有新内容可用,他们可以选择立即或稍后下载。您将需要构建一种机制来轮询托管内容的服务器并确定内容是否已更新。
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.