---
title: "init(albumIdentifier:photoLibrary:)"
framework: photosui
role: symbol
role_heading: Initializer
path: "photosui/phsharedalbumcustomizationviewcontroller/init(albumidentifier:photolibrary:)"
---

# init(albumIdentifier:photoLibrary:)

## Declaration

```swift
init(albumIdentifier: String, photoLibrary: PHPhotoLibrary)
```

## Parameters

- `albumIdentifier`: The identifier of the shared album to be customized.
- `photoLibrary`: The photo library in which the specified shared album exists.

## Discussion

Discussion Returns a view controller that allows the user to customize a specified shared album. Only the system photo library is supported, so albumIdentifier must be for an album in the system photo library. If albumIdentifier is from a different library, showing a customization sheet will fail.
