Inline Photos Picker Style
A photos picker style that displays the picker inline without presenting a sheet.
Platform Compatibility
Tags
SwiftUI Code
PhotosPicker("FooBar", selection: $selectedPhoto)
.photosPickerStyle(.inline)A photos picker style that displays the picker inline without presenting a sheet.
PhotosPicker("FooBar", selection: $selectedPhoto)
.photosPickerStyle(.inline)A photos picker style that displays the picker without presenting a sheet.
Creates a picker with a title key and selection, and optionally configures the types of items to show and item encoding behavior.
Overrides the title of the Photos picker. The title is not visible on small screens, like the iPhone.
Limits the Photos picker to only show items in the specified container. In this case, to the user-created album "CustomAlbum".
A modifier that adds a URL session for asynchronous images contained in the view to use when fetching image data.
The UIKit colors that are also used in other components like in List and GroupBox
Sets the default expansion state for the section containing this tab to collapsed when displayed in the sidebar.
A picker style that presents the options as a menu when the user presses a button, or as a submenu when nested within a larger menu.