Range Photo Picker
Presents a Photos picker that selects a collection of PhotosPickerItem, constrained to a range of selection counts.
Platform Compatibility
Tags
SwiftUI Code
@State private var selectedPhotos: [PhotosPickerItem] = []
var body: some View {
PhotosPicker(
"FooBar",
selection: $selectedPhotos,
selectionRange: 2 ... 5
)
}