Initializes and returns a share object.
On This Page
convenience init(rootRecord: CKRecord)
The record that is being shared.
An initialized share object.
When saving a newly created CKShare, you must save the share and its rootRecord in the same CKModifyRecordsOperation batch.
init(rootRecord: CKRecord, shareID: CKRecord.ID)