<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/photosSharedAlbumCustomizationSheet(isPresented:albumIdentifier:photoLibrary:onCompletion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP07_Photosb1_aB0E35photosSharedAlbumCustomizationSheet11isPresented15albumIdentifier12photoLibrary12onCompletionQrAA7BindingVySbG_SSSgSo07PHPhotoO0Cys5Error_pSgcSgtF"
  },
  "title" : "photosSharedAlbumCustomizationSheet(isPresented:albumIdentifier:photoLibrary:onCompletion:)"
}
-->

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

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

```
nonisolated func photosSharedAlbumCustomizationSheet(isPresented: Binding<Bool>, albumIdentifier: String?, photoLibrary: PHPhotoLibrary, onCompletion: (((any Error)?) -> 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. On failure, the error will be non-nil.

## Discussion> Remark:
> 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)