Update README.md
PhotosPicker is a photos picker sheet, based on PHPickerViewController. Currently supports only iOS and Mac Catalyst.
PhotosPicker
PHPickerViewController
PhotosPicker has similar API and behavior as other Presentation Modifiers.
import SwiftUI import PhotosPicker struct ContentView: View { @State private var showingPicker = false var body: some View { Button("Choose image") { showingPicker = true } .photosPicker(isPresented: $showingPicker) { photos in if photos.count > 0 { print("Selected \(photos)") } } } }
https://github.com/lorenzofiamingo/swiftui-photos-picker
SwiftUI AsyncButton 🖲️
SwiftUI MapItemPicker 🗺️
SwiftUI CachedAsyncImage 🗃️
SwiftUI VerticalTabView 🔝
SwiftUI SharedObject 🍱
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
SwiftUI PhotosPicker 🌇
PhotosPickeris a photos picker sheet, based onPHPickerViewController. Currently supports only iOS and Mac Catalyst.Usage
PhotosPickerhas similar API and behavior as other Presentation Modifiers.Installation
https://github.com/lorenzofiamingo/swiftui-photos-picker) and click Next.Other projects
SwiftUI AsyncButton 🖲️
SwiftUI MapItemPicker 🗺️
SwiftUI CachedAsyncImage 🗃️
SwiftUI VerticalTabView 🔝
SwiftUI SharedObject 🍱