<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHAuthorizationStatus",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:@E@PHAuthorizationStatus"
  },
  "title" : "PHAuthorizationStatus"
}
-->

# PHAuthorizationStatus

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

```
enum PHAuthorizationStatus
```

## Topics

### Status Types

[`PHAuthorizationStatusNotDetermined`](/documentation/Photos/PHAuthorizationStatus/notDetermined)

The user hasn’t set the app’s authorization status.

[`PHAuthorizationStatusRestricted`](/documentation/Photos/PHAuthorizationStatus/restricted)

The app isn’t authorized to access the photo library, and the user can’t grant such permission.

[`PHAuthorizationStatusDenied`](/documentation/Photos/PHAuthorizationStatus/denied)

The user explicitly denied this app access to the photo library.

[`PHAuthorizationStatusAuthorized`](/documentation/Photos/PHAuthorizationStatus/authorized)

The user explicitly granted this app access to the photo library.

[`PHAuthorizationStatusLimited`](/documentation/Photos/PHAuthorizationStatus/limited)

The user authorized this app for limited photo library access.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)