Contents

photosSharedAlbumCustomizationSheet(isPresented:albumIdentifier:photoLibrary:onCompletion:)

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

Declaration

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

See Also

Selecting photos