CNContactStore.RequestAccess Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- completionHandler
- CNContactStoreRequestAccessHandler
- Attributes