Поделиться через


CNContactStore.RequestAccess Метод

Определение

Запрашивает доступ к контактам пользователя.

[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

Параметры

entityType
CNEntityType
Атрибуты

Применяется к