Private data sharing using CloudKit

后端 未结 4 1080
耶瑟儿~
耶瑟儿~ 2021-02-01 22:10

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 t

4条回答
  •  情书的邮戳
    2021-02-01 22:41

    Technically yes, you can share private data between two our more users with CloudKit. While the data store is public, this does not mean that each user has access to the entire public store. Your design can control access to portions of the public database within each app instance.

    By developing an app that uses the public database with unique identifiers for groups of users, and zones using CKRecordZoneNotification for managing notifications, you should be able to create a reasonably secure solution. You decide what reasonably secure means.

    Here's a link to Apple's docs for CKRecordZoneNotification

提交回复
热议问题