什么是iCloud?
iCloud is a free service that lets users access their personal content on all their devices—wirelessly and automatically via Apple ID. iCloud does this by combining network-based storage with dedicated APIs, supported by full integration with the operating system. Apple provides server infrastructure, backup, and user accounts, so you can focus on building great iCloud-enabled apps.

The core idea behind iCloud is to eliminate explicit synchronization between devices. A user never needs to think about syncing and your app never interacts directly with iCloud servers. When you adopt iCloud storage APIs as described in this document, changes appear automatically on all the devices attached to an iCloud account. Your users get safe, consistent, and transparent access to their personal content everywhere.
iCloud关注的是“content”,而不是整个application,因为在restore from iCloud的时候,iphone会自动下载你当时备份的版本,如果你备份的版本不存在了,则会下载最新版本。在你自己设计程序时,你可以将你想要backup的数据添加到iCloud中。
iCloud能backup什么?
Three data types that can stored in iCloud:
1. key-value pairs