Contents

photosPickerStyle(_:)

Sets the mode of the Photos picker.

Declaration

nonisolated func photosPickerStyle(_ style: PhotosPickerStyle) -> some View

Parameters

  • mode:

    One of the available modes.

Return Value

A Photos picker that uses the specified mode.

See Also

Selecting photos