Initializes and returns an operation object configured to fetch the records with the specified IDs.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
An array of
CKRecordobjects representing the records you want to retrieve. This parameter is used to initialize the value in the
recordproperty. If specify
nil, you must assign an appropriate value to the
recordproperty before executing the operation.
If any of the objects in the array are not
CKRecordobjects, this method raises an exception.
An initialized operation object.
The returned operation object is configured to retrieve all fields of the record, including any assets stored in those fields. If you want to minimize the amount of data returned initially, configure the
desired property with the subset of keys whose values you want to retrieve.
After initializing the operation, you must associate at least one progress block with the operation object (excluding the completion block) to process the results.