CloudKit share private Container between users

被刻印的时光 ゝ 提交于 2019-12-04 12:03:16

Data in the private container can not be shared directly. You should use a public container for that functionality. You just have to create the right filters in your app so that you only share the data with the people you want to share the data with.

In iOS 10 / macOS 10.12, it is now possible to share hierarchies of records in a user's private database with other users.

An Overview: [WWDC 2016] Session 226 - What's New with CloudKit

If you want to start diving into the new documentation, check out:

And this thread in the Apple Developer Forums, which provides some example code.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!