Reputation: 73
Is there any way to make the CloudKit public database writeable for users without an iCloud account?
Upvotes: 1
Views: 319
Reputation: 1997
You can do it server side using the API key and you can call your own API when users are not logged in.
Upvotes: 2
Reputation: 1862
According to Apple documentation you must be logged in iCloud to write data in publica database
For a running CloudKit app, a container’s public database is always readable, even when the user is not signed in to their iCloud account on the device. Saving records to the public database and accessing the private database requires that the user be signed in
Read about it here
Upvotes: 1