iPhone Duo SwiftUI examples
Explore SwiftUI APIs, components, and modifiers on iPhone Duo. Compare portrait and landscape layouts in closed, partially open, and fully open states, with Swift code and Apple documentation.
25elements
PhotosPicker
Compact Photos Picker Style
A photos picker style that displays the picker without presenting a sheet.
Explore Compact Photos Picker Style on iPhone Duo in portrait and landscape across closed, partially open, and fully open states, with SwiftUI code and Apple API documentation.
SwiftUI code
PhotosPicker("FooBar", selection: $selectedPhoto)
.photosPickerStyle(.compact)Compatibility
iOS 17.0+ iPadOS 17.0+ macOS 14.0+ visionOS 1.0+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone Duo screenshot for Compact Photos Picker Style.