Retrieves information about a single share participant (a person who accepted a shared record) based on that participant’s phone number.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
The phone number used to locate the share participant.
The block to execute with the results. Your block must be capable of executing on any thread of the app. This block returns no value and takes the following parameters:
An object containing information about the share participant, or
nilif the participant is not found.
An error object if a problem occurs, or
nilif the participant is retrieved successfully.
This method searches for the share participant asynchronously and with a low priority. If you want the task to execute with a higher priority, create a
CKFetch object and configure the desired priority.