1

我目前有一个 iOS 应用程序,我想为其启用 iCloud 分数存储,以便用户可以在他们的设备上同步他们的游戏进度。用户进度存储在沙箱文档文件夹中的多个 plist 文件中。我在网上阅读了几篇关于 iCloud 和各种“帮助程序类”(NSFileManager、UIDocument、NSFileCoordinator 等)的文章,但我有点困惑哪一个适合我(NSFileManager 能完成这项工作还是我需要继承 UIDocument )。

API 让我有点困惑。

4

1 回答 1

3

You should use iCloud with Key-Value Data Storage. It's by far the simplest and most reliable at the moment, and suits your case perfectly.

于 2012-04-15T12:26:55.797 回答