Creates and sets a reference object for a parent from the parent’s record ID.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
CKRecordID object associated with the record (
CKRecord) that you want to set as the parent of this record.
This method creates and sets a
CKReference object for the record associated with the
CKRecordID passed in. The resulting
CKReference object will have its action set to
A reference to the parent record to this record.
A reference to the share associated with the sharing of this record.