Mohamed Wasiq
Mohamed Wasiq

Reputation: 587

How to delete CKShare?

User A shares share URL with User B. User B doesn't want to accept the share URL. As I understand, User B has to delete CKShare from Shared Database. So how does User B delete the CKShare?

Upvotes: 1

Views: 511

Answers (1)

Mohamed Wasiq
Mohamed Wasiq

Reputation: 587

It was simple. Just had to add CKShare.RecordID as recordID to be deleted to CKModifyRecordOperation operation.

Upvotes: 1

Related Questions