An object representing a person in the context of search results.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- Core Spotlight
CSPerson object represents a person in the context of search results. You can create a
CSPerson object when you have a display name and a contact handle of some kind, such as an email address or phone number.
If you create a
CSPerson object to represent a specific contact, you can use the value of the contact’s identifier property for the person object’s
contact property. Using the same value lets you avoid using names or phone numbers to look up the contact that’s associated with a person.