One Logo Pool Ball
_PhotosUI_SwiftUI · IOS API REFERENCE

PhotosPicker

struct · iOS 16.0+ · SDK 27.1

@MainActor @preconcurrency struct PhotosPicker<Label> where Label : View

A control that allows a user to choose photos and/or videos from the photo library. The user explicitly grants access only to items they choose, so photo library access authorization is not needed.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

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

PhotosPicker.init(selection:matching:preferredItemEncoding:label:)

callback cannot propagate synchronous failure

PhotosPicker.init(selection:maxSelectionCount:selectionBehavior:matching:preferredItemEncoding:label:)

callback cannot propagate synchronous failure

PhotosPicker.init(selection:matching:preferredItemEncoding:photoLibrary:label:)

callback cannot propagate synchronous failure

PhotosPicker.init(selection:maxSelectionCount:selectionBehavior:matching:preferredItemEncoding:photoLibrary:label:)

callback cannot propagate synchronous failure

PhotosPicker.body

This protocol needs associated types that cannot yet cross the bridge.

All _PhotosUI_SwiftUI types →