我使用工作表从图库中选取图像。在选择图像之后,我想调用函数(uploadToServer()) 我的代码:. sheet(isPresented: $isImagePickerShown) { //I want to get the selected imageURL here to call uploadToServer()
} 我怎样才能得到url后的工作表解除
我有一个水平图像的列表。以及导航栏中的一个小配置文件/设置按钮。当你点击配置文件按钮时,一个工作表视图向上滑动,当你关闭它时,列表似乎失去了它的单元格(基本上是其他图像的HStacks) 下面是显示工作表和列表的代码 var body: some ViewUser Profile: \(self.userData.userProfile.username)")