Lumpi01
Lumpi01

Reputation: 73

CloudKit public database writeable without iCloud account

Is there any way to make the CloudKit public database writeable for users without an iCloud account?

Upvotes: 1

Views: 319

Answers (2)

Mycroft Canner
Mycroft Canner

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

Adolfo
Adolfo

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

Related Questions