ios - 使用 NSPersistentCloudKitContainer 在用户之间共享核心数据
问题描述
Apple 推出了NSPersistentCloudKitContainer
iOS 13,它使我们能够将 CloudKit 与 Core Data 一起使用。我让它在不同的设备上几乎立即工作,但我的主要问题仍然存在。
是否可以与其他用户轻松共享数据?我一直在阅读,CKShare
但不知道如何NSPersistentCloudKitContainer
以简单的方式实现这一目标。
解决方案
正如 WWDC 2021 中宣布的那样,您现在可以与其他 iCloud 用户共享。https://developer.apple.com/videos/play/wwdc2021/10015/
推荐阅读
- ios - Fitbit oauth2 公共 API 停止工作。给出错误-抱歉不是你..是我们
- regex - 使用多字符正则表达式模式拆分并保留分隔符
- javascript - Redux 中容器组件过多(n 个,其中 n 未知),担心性能?
- google-bigquery - BigQuery 视图的打开日期框架 (StandardSQL)
- php - 将 PHP 创建的 CSV 直接保存为 ISO 编码
- angular - Angular 服务工作者 maxSize 配置
- url - 所有按钮的 TYPO3 预览 URL 配置
- javascript - 我想在 Node.js 中调用 Python 并使用 SymPy 模块
- sybase - 增加打开对象的值数量的原因是什么?
- outlook-addin - Office JS Add-in API Compose 预约获取联系方式