Iphone 应用程序上的同步(按钮)

发布于 2024-08-11 18:08:20 字数 105 浏览 3 评论 0原文

谁能告诉我许多 Iphone 应用程序上的同步按钮是如何操作的。作品(如《世界报》)。 按钮下载并替换应用程序的所有文件?只在数据库中查找更改(新条目)并添加它们?....

谢谢,

Can anyone tell me How does the Sync Button on many Iphone app. works (like 'Le Monde').
The button download and replace all files of the application? only look for change (new entry) on the database and add them?....

Thanks,

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

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

发布评论

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

评论(1

蓝眼睛不忧郁 2024-08-18 18:08:20

通常,这样的按钮会进行网络服务调用,具体取决于您可能要更新或替换设备上当前信息的调用。

有些网络服务允许您询问特定日期以来的信息:

/FetchArticles?afterDate=200911011952

有些只会向您提供一定数量的信息。

大多数时候,对网络服务的调用将返回足够轻的数据,您可以用您获取的数据替换您拥有的数据,但有时数据有点重(图像、视频等...),所以您'你会想要保留你已经拥有的东西并添加到它上面。

如果不了解有关您的应用程序的更多信息,或者即使它使用网络资源,也很难提供更多帮助。

Typically a button like that is making a web service call, depending on the call you may be updating or replacing the information currently on the device.

Some web services will allow you to ask for information since a certain date:

/FetchArticles?afterDate=200911011952

Some will just provide you with a set amount of information.

Most of the time the calls to a web service will return light enough data that you can just replace what you had with what you fetch, but sometimes the data is a little heavier(images, video, etc...), so you'll want to hang onto what you already have and add to it.

Without knowing more about your App, or if it even uses network resources it's hard to provide any more help.

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