swift Swift - CloudKit - 创建用于开发的iCloud帐户。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了swift Swift - CloudKit - 创建用于开发的iCloud帐户。相关的知识,希望对你有一定的参考价值。

You’ll need an iCloud account to save records to a CloudKit container. 
You’ll enter the credentials for this iCloud account on the device that you run your app. 
If you don’t have an iCloud account, create one that you can use during development. 
On your Mac, launch System Preferences and click iCloud. Click Create Apple ID under the 
Apple ID text field and follow the instructions.

In development, when you run your app through Xcode on a simulator or a device, you need to 
enter iCloud credentials to read records in the public database. In production, the default 
permissions allow non-authenticated users to read records in the public database but do not 
allow them to write records.

以上是关于swift Swift - CloudKit - 创建用于开发的iCloud帐户。的主要内容,如果未能解决你的问题,请参考以下文章

swift Swift - CloudKit - 获取用户ID

swift Swift - CloudKit - 推送通知

swift Swift - CloudKit共享

swift Swift - CloudKit - 维护本地缓存

swift Swift - CloudKit - 部署架构

swift Swift - CloudKit订阅 - 5