【发布时间】:2013-11-11 01:55:33
【问题描述】:
在允许用户跨多个设备同步核心数据内容的应用中,我应该使 NSPersistentStoreUbiquitousContentNameKey 的唯一性如何?
即在拥有设备 ID 的意义上它应该是唯一的吗?因此,如果用户在他们的 iPhone 上运行一个应用程序,它有一个 NSPersistentStoreUbiquitousContentNameKey,如果他们在他们的 iPad 上运行它,还有另一个 NSPersistentStoreUbiquitousContentNameKey?
或者它只是在不同的应用程序之间是独一无二的? IE。如果我有 App A,它有一个 NSPersistentStoreUbiquitousContentNameKey,而 App B 有另一个 NSPersistentStoreUbiquitousContentNameKey?
【问题讨论】: