Enumeration

PHAuthorizationStatus

Information about your app’s authorization to access the user’s photo library, used by the authorizationStatus and requestAuthorization: methods.

Declaration

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

Topics

Constants

PHAuthorizationStatusNotDetermined

Explicit user permission is required for photo library access, but the user has not yet granted or denied such permission.

PHAuthorizationStatusRestricted

Your app is not authorized to access the photo library, and the user cannot grant such permission.

PHAuthorizationStatusDenied

The user has explicitly denied your app access to the photo library.

PHAuthorizationStatusAuthorized

The user has explicitly granted your app access to the photo library.

See Also

Verifying Authorization

+ authorizationStatus

Returns information about your app’s authorization to access the user’s photo library.

+ requestAuthorization:

Requests the user’s permission, if needed, to access the photo library.