iPhone SwiftUI layouts

Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.

PhotosPicker

Compact Photos Picker Style

A photos picker style that displays the picker without presenting a sheet.

Explore Compact Photos Picker Style on iPhone in portrait and landscape, with SwiftUI code and Apple API documentation.

PhotosPicker("FooBar", selection: $selectedPhoto)
    .photosPickerStyle(.compact)
iOS 17.0+ iPadOS 17.0+ macOS 14.0+ visionOS 1.0+

Every available iPhone screenshot for Compact Photos Picker Style.

2 views