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
isPresentedis set totrue. - 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
PhotosPickerphotosPicker(isPresented:selection:matching:preferredItemEncoding:)photosPicker(isPresented:selection:matching:preferredItemEncoding:photoLibrary:)photosPicker(isPresented:selection:maxSelectionCount:selectionBehavior:matching:preferredItemEncoding:)photosPicker(isPresented:selection:maxSelectionCount:selectionBehavior:matching:preferredItemEncoding:photoLibrary:)photosPickerAccessoryVisibility(_:edges:)photosPickerDisabledCapabilities(_:)photosPickerSearchText(_:)photosPickerStyle(_:)photosPickerMetadataOptions(_:)photosSharedAlbumCreationSheet(isPresented:defaultTitle:defaultSharingPolicy:photoLibrary:onCompletion:)photosSharedAlbumPostingSheet(isPresented:items:defaultAlbumIdentifier:photoLibrary:completion:)