如何在SwiftUI中包含并调用BSImagePicker
如何在此构造中包含BSImagePicker并将图像保存在数组中如何在SwiftUI中包含并调用BSImagePicker,swift,xcode,image,swiftui,imagepicker,Swift,Xcode,Image,Swiftui,Imagepicker,如何在此构造中包含BSImagePicker并将图像保存在数组中 import SwiftUI import BSImagePicker struct ContentView: View { ... var body: some View { ... Button(action: { //Here the Image Picker should be called
import SwiftUI
import BSImagePicker
struct ContentView: View {
...
var body: some View {
...
Button(action: {
//Here the Image Picker should be called
}) {
Image(systemName: "camera")
}
...
}
}
无法使其选择多个项目。您可以在此处继续您的研究: