Fetches one record zone asynchronously, with a low priority, from the current database.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 3.0+
The ID of the record zone. This method throws an exception if this parameter is
The block to execute with the results. Your block must be capable of running on any thread of the app and must take the following parameters:
nilif the object is not found or cannot be retrieved.
An error object, or
nilif the record zone was fetched successfully. Use the information in the error object to determine whether a problem has a workaround.
Use this method to retrieve a record zone whose ID you already know. You might retrieve a record zone object so that you can assess its capabilities.
This method fetches the record zone with a low priority, which may cause the task to execute after higher-priority tasks. To fetch the record zone more urgently, create a
CKFetch object with the desired priority. You can also use that operation object to fetch multiple record zones simultaneously.