Contents

photosPickerAccessoryVisibility(_:edges:)

Sets the accessory visibility of the Photos picker. Accessories include anything between the content and the edge, like the navigation bar or the sidebar.

Declaration

nonisolated func photosPickerAccessoryVisibility(_ visibility: Visibility, edges: Edge.Set = .all) -> some View

Parameters

  • edges:

    The accessory visibility to apply.

  • edges:

    One or more of the available edges.

Return Value

A Photos picker with the specified accessory visibility.

See Also

Selecting photos