init(items:defaultAlbumIdentifier:photoLibrary:)
Returns a view controller that allows the user to create a new shared album.
Declaration
@MainActor @preconcurrency convenience init(items: [PHPickerResult], defaultAlbumIdentifier: String?, photoLibrary: PHPhotoLibrary)Parameters
- items:
The items to be posted to the shared album.
- defaultAlbumIdentifier:
Identifier for the shared album to be pre-selected. If none provided, the user can manually choose a shared album.
- photoLibrary:
The photo library to choose from.