I create a CKShare and then I set the title:
share[CKShare.SystemFieldKey.title] = title
I even call:
if let cloudStore = coreDatabase.cloudStore {
try await persistentContainer.persistUpdatedShare(share, in: cloudStore)
}
but when I retrieve this share again using
persistentContainer.fetchShares(matching: [id])
the title is not set. I even checked CloudKit console and I can't see there title either...
How can I retrieve the previously set title for a share?