CNContactStore.RequestAccess(CNEntityType, CNContactStoreRequestAccessHandler) Method

Definition

Requests access to the user's contacts.

[Foundation.Export("requestAccessForEntityType:completionHandler:")]
public virtual void RequestAccess (Contacts.CNEntityType entityType, Contacts.CNContactStoreRequestAccessHandler completionHandler);
abstract member RequestAccess : Contacts.CNEntityType * Contacts.CNContactStoreRequestAccessHandler -> unit
override this.RequestAccess : Contacts.CNEntityType * Contacts.CNContactStoreRequestAccessHandler -> unit

Parameters

entityType
CNEntityType
Attributes

Applies to