CNAuthorizationStatus Enum

Definition

Enumerates the application's current authorization to access the CNContactStore.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CNAuthorizationStatus
type CNAuthorizationStatus = 
Inheritance
CNAuthorizationStatus
Attributes

Fields

Authorized 3

The app is authorized to access the Contacts database.

Denied 2

The app has been denied access to the Contacts database.

NotDetermined 0

The user has not yet chosen whether the app may access the Contacts database.

Restricted 1

The app may not access the Contacts database, although the reason may not be the user's choice, but rather something such as parental controls.

Applies to