ios - CloudKit 和 iCloud 帐户

标签 ios icloud cloudkit

我一直在阅读有关此主题的文档并观看一些视频,在所有这些视频中,他们都提到用户需要使用 iCloud 帐户进行身份验证。我的问题是:如果用户没有 iCloud 帐户,他们将无法更新公共(public)数据库?并把它放在更多的背景下;苹果帐户(用户从苹果商店下载东西所需的帐户)是否不足以更新公共(public)数据库并获得对私有(private)数据库的访问权限?

谢谢。

最佳答案

if users don't have an iCloud account they won't be able to update the public database?

来自苹果的Designing for CloudKit文档:

Saving records to the public database and accessing the private database in any way requires the presence of an active iCloud account on the device.

所以你是对的。

<小时/>

can the apple account (the one the user needs to download stuff from the apple store) wouldn't be enough to update the public database and gain access to the private database?

这是一个不太明确的问题 - Apple ID 设置为从 App Store 下载而设置用于 iCloud 的情况非常罕见。我假设几乎所有可以下载您的应用的设备都可能附加了 iCloud 帐户。

关于ios - CloudKit 和 iCloud 帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24922807/

相关文章:

c# - Xamarin 中是否有针对标签上的 GestureRecognizer 的新闻和发布 Activity ?

ios - Swift IOS 收到有关定义电话号码的来电通知

iphone - UIManagedDocument:网络中断时创建新文件时出错/崩溃(保存)

ios - 在 CloudKit 开发环境中使用 TestFlight

ios - 我需要将哪些 serviceUUID 传递给 retrieveConnectedPeripheralsWithServices 以快速获取任何连接的设备?

ios - 是否可以在 UIProgressView 中添加多种颜色?

ios - 将 iCloud Drive 文件管理器添加到 App - iOS 13

ios - 在 NSManagedObjectsDidChangeNotification 创建无限循环后设置 lastModificationDate 属性

swift - 向下滚动加载更多记录

ios - 在没有CloudKit仪表板的情况下管理数据库?