【问题标题】:How can I include and call the BSImagePicker in SwiftUI如何在 SwiftUI 中包含和调用 BSImagePicker
【发布时间】:2020-04-19 06:26:42
【问题描述】:

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

import SwiftUI
import BSImagePicker

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

【问题讨论】:

    标签: swift xcode image swiftui imagepicker


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2022-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-23
      • 2020-05-03
      • 2018-01-19
      • 2018-01-23
      • 1970-01-01
      相关资源
      最近更新 更多