Iphone 应用程序上的同步(按钮)
谁能告诉我许多 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,这样的按钮会进行网络服务调用,具体取决于您可能要更新或替换设备上当前信息的调用。
有些网络服务允许您询问特定日期以来的信息:
有些只会向您提供一定数量的信息。
大多数时候,对网络服务的调用将返回足够轻的数据,您可以用您获取的数据替换您拥有的数据,但有时数据有点重(图像、视频等...),所以您'你会想要保留你已经拥有的东西并添加到它上面。
如果不了解有关您的应用程序的更多信息,或者即使它使用网络资源,也很难提供更多帮助。
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:
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.