One Logo Pool Ball
PhotosUI · IOS API REFERENCE

PHSharedAlbumPostingViewController

class · iOS 27.0+ · SDK 27.1

class PHSharedAlbumPostingViewController

Members (4)

get · iOS 27.0+

albumIdentifier

TypeScript
get albumIdentifier(): Promise<(string) | null>
Swift declaration
var albumIdentifier: String? { get }
get · iOS 27.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any PHSharedAlbumPostingViewController.Delegate)? { get set }
set · iOS 27.0+

delegate

TypeScript
setDelegate(value?: (Implements<PHSharedAlbumPostingViewController_Delegate> | SDKHandle) | null): Promise<void>
Swift declaration
weak var delegate: (any PHSharedAlbumPostingViewController.Delegate)? { get set }
init · iOS 27.0+

init

TypeScript
static init(items: Array<PHPickerResult>, defaultAlbumIdentifier: (string) | null, photoLibrary: _Photos_PHPhotoLibrary): Promise<PHSharedAlbumPostingViewController>
Swift declaration
@MainActor @preconcurrency convenience init(items: [PHPickerResult], defaultAlbumIdentifier: String?, photoLibrary: PHPhotoLibrary)

Returns a view controller that allows the user to create a new shared album. - 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.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PHSharedAlbumPostingViewController.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All PhotosUI types →