使用CloudKit进行私人数据共享 [英] Private data sharing using CloudKit

查看:201
本文介绍了使用CloudKit进行私人数据共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用CloudKit在两个或多个用户之间共享私人数据有一个简单的方法吗?

Is there a straightforward way to share private data between two or more users using CloudKit?

公开日期和私人日期很明显,一种方式允许一组用户组织他们自己的孤岛,在他们之间共享数据,而不让系统的所有其他用户和应用程序开发人员可用。

Public and private date are obvious, but there doesn't seem to be a way to allow a group of users to organize their own silo to share data amongst themselves without making it available to all the other users of the system and to the app developer.

我有一个学术协作应用程序,但最简单的例子是两个用户之间的私人消息。

I have an academic collaboration app in mind but the simplest example would be private messaging between two users.

我想可以尝试在顶部构建一个公共密钥加密系统的CloudKit来实现这一点,但这不是我正在寻找,并将缩小超过每个组两个用户。

I guess one could try to build a public key encryption system on top of CloudKit to achieve that, but that's not what I'm looking for and would scale poorly beyond two users per group.

推荐答案

在WWDC 2016年,苹果推出了针对此用例的 CKShare 。自2016年6月13日起,测试版API已公开但未公开。共享API在WWDC 2016视频中演示了 CloudKit的新功能,开始在19:57。

At WWDC 2016, Apple introduced CKShare which addresses this use case. As of Jun 13th, 2016, the beta API is public but undocumented. The sharing API is demonstrated in the WWDC 2016 video What's new with CloudKit, starting at 19:57.

这篇关于使用CloudKit进行私人数据共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆