在Swift UI中上传图片

时间:2019-07-02 15:22:59

标签: ios swift swiftui

我想从手机上的应用程序中上传图像,基本上,在让UIImagePickerController进行操作之前,我现在应该使用什么?

Image("upload")
.resizable()
.frame(width: 100, height: 100)
.tapAction {
    // here I want to upload the image from my phone
}

0 个答案:

没有答案