Compact Photos Picker Style
A photos picker style that displays the picker without presenting a sheet.
Platform Compatibility
Tags
SwiftUI Code
PhotosPicker("FooBar", selection: $selectedPhoto)
.photosPickerStyle(.compact)A photos picker style that displays the picker without presenting a sheet.
PhotosPicker("FooBar", selection: $selectedPhoto)
.photosPickerStyle(.compact)A photos picker style that displays the picker inline 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".
Creates a view to load and merchandise an individual product from the App Store.
Specifies the preferred placement for the tabs of a TabView in the sidebarAdaptable style on platforms where the tab bar cannot adapt between different representations, and only one representation can be shown. For example, on iOS, it can enforce the sidebar on large-screen devices like the Pro Max, and iPhone Duo. This modifier has no effect on iPadOS.
Adds custom swipe actions to a row in a list or container, notifying you when the actions are revealed or dismissed.