Search code examples
iosswiftcloudkitstorekit

Can CloudKit be used to store data and send from one user to another?


The data that I'm interested in sending is photos, videos, and contact information from one persons device to another.


Solution

  • CloudKit has private and public databases. If you store data in the private database, a different logged in user cannot access the data. If you store it in the public database, your app "owns" the data and can therefore choose to make it available to other users.