当您从苹果AppStore下载一个iPhone应用程序的更新,它是一个部分下载或完整重新下载? [英] When you download an iPhone application updates from Apple AppStore, is it a partial download or a complete redownload?

查看:281
本文介绍了当您从苹果AppStore下载一个iPhone应用程序的更新,它是一个部分下载或完整重新下载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,当苹果AppStore推动应用程序更新到用户,当用户选择下载应用程序更新,它是一个局部的更新或者是应用程序?

I want to know, when Apple AppStore pushes an application updates to the user, and when the user chooses to download that application update, is it a partial updates or is it a complete reinstall for the application?

假设一个极端的情况下,开发商只有在应用程序更新的一个图像,他提交了更新的应用程序商店,并苹果巧妙地提供应用程序的更新部分,或者盲目地重新提交全新的应用程序到最终用户作为更新?

Assuming an extreme case, the developer only updated one image in the application and he submitted the updates to the app store, does apple smartly delivers the updated portion of the app, or it blindly redeliver the whole new application to the end user as an update?

推荐答案

这是一个完整的下载和重新安装整个应用程序二进制的,只有用户数据是preserved。这是在更新期间,以减轻任何其它不可逆的损坏,因为如果更新本身损坏那么它只是一个回滚到什么设备上pviously安装$ P $,preventing用户数据丢失的问题。

It is a complete download and reinstall of the entire application binary, with only user data being preserved. This is to mitigate any otherwise irreversible corruptions during the update, since if the update itself is corrupted then it's just a matter of rolling back to what was previously installed on a device, preventing user data loss.

从<一个href=\"http://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/RuntimeEnvironment/RuntimeEnvironment.html#//apple_ref/doc/uid/TP40007072-CH2-SW3\"相对=nofollow>苹果的开发者文档:

当用户下载应用程序更新时,iTunes会安装在一个新的应用程序目录更新。然后,删除旧的安装之前将来自旧安装用户的数据文件转移到新的应用程序目录。在下列目录中的文件都保证在更新过程中pserved $ P $:

When a user downloads an application update, iTunes installs the update in a new application directory. It then moves the user’s data files from the old installation over to the new application directory before deleting the old installation. Files in the following directories are guaranteed to be preserved during the update process:


      
  • &LT;&APPLICATION_HOME GT; /文件

&LT;&APPLICATION_HOME GT; /库

虽然在其他用户目录下的文件也可以被移动过来,你不应该依赖于他们作为一个更新后present。

Although files in other user directories may also be moved over, you should not rely on them being present after an update.

这并不是说出声来,这是一个完整的重新安装,但是第一段使得它很清楚它为什么。

It doesn't say out loud that it's a complete reinstall, however the first paragraph makes it quite clear why it is.

这篇关于当您从苹果AppStore下载一个iPhone应用程序的更新,它是一个部分下载或完整重新下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆