gpt4 book ai didi

ios - CloudKit iOS 如何设置世界写入权限

转载 作者:行者123 更新时间:2023-11-29 00:41:03 24 4
gpt4 key购买 nike

如何在 iCloud 仪表板上设置世界写入权限因为现在它被禁用了,而且真的需要它

enter image description here

最佳答案

简短回答:你不能。

For a running CloudKit app, a container’s public database is always readable, even when the user is not signed in to their iCloud account on the device. Saving records to the public database and accessing the private database requires that the user be signed in. If your app does more than read data from the public database, check to see whether the user is signed in before saving records.

引用: Designing for CloudKit

CloudKit 要求用户登录 iCloud 帐户才能写入公共(public)数据库。

如果您需要为没有 iCloud 帐户或不想登录的用户提供此类功能,您可能需要研究不同的云解决方案。

如果您只需要从自己的服务器写入公共(public)数据库,您可以使用 CloudKit Web Servicesserver-to-server key .

关于ios - CloudKit iOS 如何设置世界写入权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39508420/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com