---
title: PHAccessLevel
framework: photos
role: symbol
role_heading: Enumeration
path: photos/phaccesslevel
---

# PHAccessLevel

The app’s level of access to the user’s photo library.

## Declaration

```swift
enum PHAccessLevel
```

## Topics

### Access Levels

- [PHAccessLevel.addOnly](photos/phaccesslevel/addonly.md)
- [PHAccessLevel.readWrite](photos/phaccesslevel/readwrite.md)

### Initializers

- [init(rawValue:)](photos/phaccesslevel/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Verifying Authorization

- [authorizationStatus(for:)](photos/phphotolibrary/authorizationstatus(for:).md)
- [requestAuthorization(for:handler:)](photos/phphotolibrary/requestauthorization(for:handler:).md)
- [PHAuthorizationStatus](photos/phauthorizationstatus.md)
- [authorizationStatus()](photos/phphotolibrary/authorizationstatus().md)
- [requestAuthorization(_:)](photos/phphotolibrary/requestauthorization(_:).md)
