-1

如何在此构造中包含 BSImagePicker 并将图像保存在数组中?

import SwiftUI
import BSImagePicker

struct ContentView: View {
    ...
    var body: some View {
        ...
        Button(action: {
            //Here the Image Picker should be called                      
        }) {
            Image(systemName: "camera")
        }
        ...
    }
}

4

1 回答 1

0

不可能让它选择一个以上的项目。你可以在这里继续你的研究: https ://duckduckgo.com/?q=multiple+image+picker+swiftui&t=ffcm&ia=web https://www.pawelmadej.com/post/multi-select-picker-for-swiftui /

于 2020-04-20T01:29:29.043 回答