---
title: UIImagePickerController.SourceType.photoLibrary
framework: uikit
role: symbol
role_heading: Case
path: uikit/uiimagepickercontroller/sourcetype-swift.enum/photolibrary
---

# UIImagePickerController.SourceType.photoLibrary

Specifies the device’s photo library as the source for the image picker controller.

## Declaration

```swift
case photoLibrary
```

## See Also

### Constants

- [UIImagePickerController.SourceType.camera](uikit/uiimagepickercontroller/sourcetype-swift.enum/camera.md)
- [UIImagePickerController.SourceType.savedPhotosAlbum](uikit/uiimagepickercontroller/sourcetype-swift.enum/savedphotosalbum.md)
