Enumeration

CKApplicationPermissionStatus

Constants indicating whether the app has been granted a specific permission.

Declaration

typedef enum CKApplicationPermissionStatus : NSInteger {
    ...
} CKApplicationPermissionStatus;

Overview

These constants are reported by the statusForApplicationPermission:completionHandler: and requestApplicationPermission:completionHandler: methods. For a list of permissions the app may request, see CKApplicationPermissions.

Topics

Constants

CKApplicationPermissionStatusInitialState

The user has not yet decided whether to grant this permission. Use the requestApplicationPermission:completionHandler: method to ask the user to grant the permission.

CKApplicationPermissionStatusCouldNotComplete

An error occurred during the getting or setting of the app permission. Consult the provided NSError object for more information.

CKApplicationPermissionStatusDenied

The user denied access to the permission.

CKApplicationPermissionStatusGranted

The user granted access to the permission.