Type Method

descriptorForRequiredKeysForStyle:

Returns the required key descriptor for the specified formatting style of the contact.

Declaration

+ (id<CNKeyDescriptor>)descriptorForRequiredKeysForStyle:(CNContactFormatterStyle)style;

Parameters

style

The formatting style to be used for contact name.

Return Value

The contact key descriptor for the formatting style.

Discussion

Include this method with the keys to fetch when fetching contacts. To format multiple styles, you can include multiple key descriptors with the keys to fetch.