---
title: "photosSharedAlbumCustomizationSheet(isPresented:albumIdentifier:photoLibrary:onCompletion:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/photossharedalbumcustomizationsheet(ispresented:albumidentifier:photolibrary:oncompletion:)"
---

# photosSharedAlbumCustomizationSheet(isPresented:albumIdentifier:photoLibrary:onCompletion:)

Presents a view for allowing the user to customize a specified shared album.

## Declaration

```swift
nonisolated func photosSharedAlbumCustomizationSheet(isPresented: Binding<Bool>, albumIdentifier: String?, photoLibrary: PHPhotoLibrary, onCompletion: (() -> Void)? = nil) -> some View

```

## Parameters

- `isPresented`: The binding for whether the shared album customization sheet should be shown.
- `albumIdentifier`: The identifier of the shared album to be customized. Must be non-nil by the time isPresented is set to true.
- `photoLibrary`: The photo library in which the specified shared album exists.
- `onCompletion`: The callback that will be invoked when the customization has succeeded or failed.

## Discussion

Discussion note: In order for the interface to appear, both isPresented must be true and albumIdentifier must not be nil. When the customization is finished, isPresented will be set to false before onCompletion is called. If the user cancels customization, isPresented will be set to false and onCompletion will not be called.

## See Also

### Selecting photos

- [PhotosPicker](photosui/photospicker.md)
- [photosPicker(isPresented:selection:matching:preferredItemEncoding:)](swiftui/view/photospicker(ispresented:selection:matching:preferreditemencoding:).md)
- [photosPicker(isPresented:selection:matching:preferredItemEncoding:photoLibrary:)](swiftui/view/photospicker(ispresented:selection:matching:preferreditemencoding:photolibrary:).md)
- [photosPicker(isPresented:selection:maxSelectionCount:selectionBehavior:matching:preferredItemEncoding:)](swiftui/view/photospicker(ispresented:selection:maxselectioncount:selectionbehavior:matching:preferreditemencoding:).md)
- [photosPicker(isPresented:selection:maxSelectionCount:selectionBehavior:matching:preferredItemEncoding:photoLibrary:)](swiftui/view/photospicker(ispresented:selection:maxselectioncount:selectionbehavior:matching:preferreditemencoding:photolibrary:).md)
- [photosPickerAccessoryVisibility(_:edges:)](swiftui/view/photospickeraccessoryvisibility(_:edges:).md)
- [photosPickerDisabledCapabilities(_:)](swiftui/view/photospickerdisabledcapabilities(_:).md)
- [photosPickerSearchText(_:)](swiftui/view/photospickersearchtext(_:).md)
- [photosPickerStyle(_:)](swiftui/view/photospickerstyle(_:).md)
- [photosPickerMetadataOptions(_:)](swiftui/view/photospickermetadataoptions(_:).md)
- [photosSharedAlbumCreationSheet(isPresented:defaultTitle:defaultSharingPolicy:photoLibrary:onCompletion:)](swiftui/view/photossharedalbumcreationsheet(ispresented:defaulttitle:defaultsharingpolicy:photolibrary:oncompletion:).md)
- [photosSharedAlbumPostingSheet(isPresented:items:defaultAlbumIdentifier:photoLibrary:completion:)](swiftui/view/photossharedalbumpostingsheet(ispresented:items:defaultalbumidentifier:photolibrary:completion:).md)
