The CloudKit usages aren’t correct. The private DB usages are dependent on how much space the user has available on their iCloud account, and the public DB is unlimited.
You gonna need fetch 2 times, at public first and private after. And you can’t create CKReferences between records in different databases. But the usage stills the same
More like fetch just at public, since the encryption key rarely change and can be fetched just after the app is installed (on second installation) or generated by the app and save a copy to the private DB (on first install).
12
u/davedelong May 22 '20
The CloudKit usages aren’t correct. The private DB usages are dependent on how much space the user has available on their iCloud account, and the public DB is unlimited.