删除CKShare及其区域使用以下方法: Delete the Core Data objects and the records in the CloudKit record zone associcatedwith the share.func purgeObjectsAndRecords(with share: CKShare, in persistentStore: NSPersistentStoreprint("\(#function): Failed to purge objects and re
是否有一种方式来实现行为-参与者逆转他们对CKShares的接受程度?在参与者接受了CKShares之后,他们会检查共享,说不,我不想为共享贡献任何东西,我甚至不想把共享记录保存在他们的UI界面的监视列表中。我尝试使用CKModifyRecordZonesOperation删除CloudKit共享数据库的共享区域:
var zoneOp = CKModifyRecordZonesOperation(recordZone