---
title: photoLibrary
framework: photosui
role: symbol
role_heading: Instance Property
path: photosui/phsharedalbumcreationconfiguration-swift.struct/photolibrary
---

# photoLibrary

The photo library in which the shared album will be created.

## Declaration

```swift
let photoLibrary: PHPhotoLibrary
```
