CloudKit在用户之间共享私有Container [英] CloudKit share private Container between users

查看:65
本文介绍了CloudKit在用户之间共享私有Container的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算开发一个用于分享有关地理位置信息的应用程序(坐标,笔记,图片),这是一种寻宝游戏,我不明白是否有可能使用CloudKit共享部分私人信息用户之间的容器。如果是的话,我该怎么做?
我需要在Reminders App中创建像Apple那样的东西,用户可以邀请其他用户,并有一个共同的列表可以在每个人之间共享,所有人都可以插入或编辑内容。

I'm planning to develop an App used to share infos about geographic locations (coordinates, notes, pics), a kind of Treasure Hunt and I did not understand if it is possible, using CloudKit, to share part of a private container between users. If it is, how can I do that? I'd need to create something like Apple does in the Reminders App, where a user can "invite" other users and have a common list to share between them all where everybody can insert or edit stuff.

最后如果使用CloudKit无法做到这一点,我可以用Parse做到吗?

Eventually if it's not possible to do it using CloudKit, can I do that with Parse?

谢谢!

推荐答案

私人容器中的数据无法直接共享。您应该使用公共容器来实现该功能。您只需在应用中创建正确的过滤器,这样您就只能与想要与之共享数据的人共享数据。

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.

这篇关于CloudKit在用户之间共享私有Container的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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